Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    731
    Likes Received:
    3
    Trophy Points:
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. WhiteDog

    WhiteDog Well-Known Member

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

    mohit Well-Known Member

    Joined:
    Jul 12, 2005
    Messages:
    553
    Likes Received:
    0
    Trophy Points:
    166
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice