Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Oct 2007
    Posts
    21

    Default Trouble with cpbackup-exclude.conf file.

    I have a few sites that the data never changes so I wanted to remove them from my daily backups as I already have an offsite copy but when I add the path to the cpbackup-exclude.conf it only skips the last entry in the file and backups all the other folders. Am I entering the paths wrong? I have 1 entry per line.

    skipthisfolder
    skipthisfolder2
    skipthisfolder3
    Last edited by crazyfish; 07-02-2010 at 12:21 PM.

  2. #2
    Member Miraenda's Avatar
    Join Date
    Jul 2004
    Location
    Coralville, Iowa USA
    Posts
    244

    Default

    Which cpbackup-exclude.conf file are you editing? The one at /etc/cpbackup-exclude.conf or another one?

    For the path, are you providing the full path to the account with a wildcard so something like this:

    /home/user1/*
    /home/user2/*
    /home/user3/*

    You can also uncheck those accounts in WHM > Backup > Configure Backup > Select Specific Users "Select >>" button area. It should then no longer back up those users.

  3. #3
    Member
    Join Date
    Oct 2007
    Posts
    21

    Default

    I was editing the one in my home directory (/home/username/cpbackup-exclude.conf). This account has other sites I want backed up so I don't want to simply remove the whole user from the backups.

    Guess I should try the /etc/cpbackup-exclude.conf file?

  4. #4
    Member Miraenda's Avatar
    Join Date
    Jul 2004
    Location
    Coralville, Iowa USA
    Posts
    244

    Default

    Yes, I would suggest trying the one in /etc/cpbackup-exclude.conf and using wildcards (*) for the contents of the folder itself in the path, so /home/user/public_html/folder/* and so on.

  5. #5
    Member
    Join Date
    Oct 2007
    Posts
    21

    Default

    That didn't work at all. Every directory I listed got backed up.

    /home/user/dir1/*
    /home/user/dir2/*
    /home/user/dir3/*

  6. #6
    Member Miraenda's Avatar
    Join Date
    Jul 2004
    Location
    Coralville, Iowa USA
    Posts
    244

    Default

    I'd suggest opening up a ticket with cPanel technical support at that point via WHM > Support Center > Contact cPanel area.

  7. #7
    Member
    Join Date
    Oct 2007
    Posts
    21

    Default

    Figured I would update this since the problem has been fixed.

    My VPS host contacted cPanel and they corrected the issue, whatever it was, they didn't say.

    They used the /home/username/cpbackup-exclude.conf file and the format was:

    skipthisfolder
    skipthisfolder2
    skipthisfolder3

Similar Threads & Tags
Similar threads

  1. pkgaccount and cpbackup-exclude.conf
    By TaneNZ in forum Data Protection
    Replies: 9
    Last Post: 08-01-2011, 02:57 PM
  2. cpbackup-exclude.conf ignored until AFTER account size limit checked?
    By finallygreen in forum New User Questions
    Replies: 0
    Last Post: 04-11-2011, 01:20 PM
  3. cpbackup-exclude.conf format, missing something?
    By Lyttek in forum Data Protection
    Replies: 6
    Last Post: 03-15-2010, 07:42 AM
  4. cpbackup-exclude.conf oddness
    By stuartmcdonald in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 02-05-2010, 02:23 PM
  5. cpbackup-exclude.conf format
    By deadlock in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-30-2008, 03:29 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube