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.

Backup - how to skip specific dirs?

Discussion in 'General Discussion' started by mr2828, Jan 26, 2008.

  1. mr2828

    mr2828 Member

    Joined:
    Nov 9, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I searched the forum, but could not find an answer to this. My backup hard drive is not big enough anymore to fully backup multiple full copies of the main drive, so I want to exclude certain directories from being backed up since I know we have this large video data also backed up locally.

    How can I exclude certain directories in a user account from being backed up?
     
  2. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    Late reply but an answer none the less.

    Put a file in the directory you would like to omit called:

    .cpbackup-skip

    then chown it for the user.group of that directory
     
  3. mr2828

    mr2828 Member

    Joined:
    Nov 9, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Thanks I will give that a try.
     
Loading...

Share This Page