Script to let customer see what cpanel backups are available?

electric

Well-Known Member
Nov 5, 2001
790
11
318
Hello,

Is there any script that can be used to show a directory listing of the /backup/cpbackup/* folders?

I don't care about matching backup files to certain users. It's fine to let all users see all backups. (There is only one customer on the whole server anyway.)

The customer has WHM access so it's fine if this is a plugin or something.

Thanks!
 

WhiteDog

Well-Known Member
Feb 19, 2008
142
6
68
Can't you just give the user read rights to the folder your backups are in?
He will then be able to browse it using, for example, SFTP.
 

mohit

Well-Known Member
Jul 12, 2005
553
0
166
Sticky On Internet
Hello,

Is there any script that can be used to show a directory listing of the /backup/cpbackup/* folders?

I don't care about matching backup files to certain users. It's fine to let all users see all backups. (There is only one customer on the whole server anyway.)

The customer has WHM access so it's fine if this is a plugin or something.

Thanks!
they can login to cpanel and click on available backups.
backups generated under "/backup/cpbackup/" are shown in cpanel accounts when you go to "generate or download a full back up" option

or if you want, you can write a small script to copy the backup from "/backup/cpbackup/" to /home/user/backup daily or weekly to let them use ftp to download if they can't use the cpanel option.