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!

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:
    51
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,928
    Likes Received:
    1,819
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. lanquest-it

    lanquest-it Member

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

    Thanks for your reply.

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

    Any suggestions are welcome.

    backup.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    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!
     
    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