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!

Excluding /home from server-wide backups

Discussion in 'Data Protection' started by PhilipUK, Aug 18, 2010.

  1. PhilipUK

    PhilipUK Registered

    Joined:
    Aug 18, 2010
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    53
    Hello
    Sorry if this has been answered elsewhere, I have searched but haven't been able to find a definitive answer.

    If I put:
    /home

    into /etc/cpbackup-exclude.conf

    Will the daily backup ignore the whole /home directory?

    What I'm wanting to do is rsync the /home offsite, but use the backup script to backup all the config, mySQL etc.

    Thanks in advance.
     
  2. syslint

    syslint Well-Known Member

    Joined:
    Oct 9, 2006
    Messages:
    262
    Likes Received:
    6
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Use the following command
    /scripts/pkgacct --skiphomedir cpaneluser
     
    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