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.

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:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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:
    249
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Use the following command
    /scripts/pkgacct --skiphomedir cpaneluser
     
Loading...

Share This Page