The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Script to let customer see what cpanel backups are available?

Discussion in 'Data Protection' started by electric, Oct 21, 2010.

  1. electric

    electric Well-Known Member

    Joined:
    Nov 5, 2001
    Messages:
    697
    Likes Received:
    1
    Trophy Points:
    18
    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!
     
  2. WhiteDog

    WhiteDog Well-Known Member

    Joined:
    Feb 19, 2008
    Messages:
    118
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  3. mohit

    mohit Well-Known Member

    Joined:
    Jul 12, 2005
    Messages:
    553
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sticky On Internet
    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.
     
Loading...

Share This Page