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.

Reseller ACL List Backup

Discussion in 'General Discussion' started by lanquest-it, Jun 29, 2011.

  1. lanquest-it

    lanquest-it Member

    Joined:
    Apr 9, 2008
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hi All,

    I have been using the WHM for a number of years to fully backup twice a week.
    It's only since I have had to re-install our servers a few months ago that I realised the /var/cpanel/acllists folder isn't part of the backup at all.

    Is there a config I've missed out?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    In "WHM >> Backup >> Configure Backup", you can enable the following option:

    "Backup Configuration Files"

    This will ensure that the entire "/var/cpanel" directory is backed up, including "/var/cpanel/acllists". The configuration file/directory backups are stored in:

    /backup/cpbackup/daily/dirs
    /backup/cpbackup/daily/files

    Note: The above directory structure assumes your backup location is "/backup" and you are checking the daily backup directory.

    Thank you.
     
  3. lanquest-it

    lanquest-it Member

    Joined:
    Apr 9, 2008
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hi Michael,

    Thanks for your reply.

    I already have that option selected (attached screen shot).

    Any suggestions are welcome.

    backup.png
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello,

    While this does show you have it enabled, it would be most helpful to see the contents of /backup/cpbackup/daily/dirs/_var_cpanel.tar.gz extracted:

    Code:
    cd /backup/cpbackup/daily/dirs
    tar -zxvf _var_cpanel.tar.gz
    I made a backup on my 11.30.1.1 test machine of the configuration files with an ACL list cpfoo saved on that machine, then I extracted the backup:

    root@host [/backup/cpbackup/daily/dirs/var/cpanel/acllists]# ls -lah
    total 12K
    drwxr-xr-x 2 root root 4.0K Jul 7 19:48 ./
    drwxr-xr-x 67 root root 4.0K Jul 7 19:48 ../
    -rw-r--r-- 1 root root 592 Jul 7 19:48 cpfoo

    The list is there on my local backup. Are you certain you are viewing the correct location and extracting the right file?

    Thanks!
     
Loading...

Share This Page