Results 1 to 11 of 11

Thread: cpbackup-exclude.conf oddness

  1. #1
    Registered Member
    Join Date
    Jun 2005
    Posts
    11

    Default cpbackup-exclude.conf oddness

    Hi,

    This morning I found cpbackup-exclude.conf files in all home directories. The files vary from account to account, but in most cases are listing the following to be excluded from backup:

    core.
    .MirrorSearch
    .cpcpan
    .wysiwygPro_
    access-logs
    .cpan
    .cpanel/datastore

    I haven't created these files -- would they have been made as a part of a cpanel upgrade?

    Thanks

    Sorry should have noted, I'm running:
    cPanel 11.24.4-C33528 - WHM 11.24.2 - X 3.9
    CENTOS 4.7 i686 on standard
    Last edited by stuartmcdonald; 01-22-2009 at 06:49 PM. Reason: sys details

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    11,431
    cPanel/WHM Access Level

    Root Administrator

    Lightbulb

    Yes. These file will be skipped (if they exist) when backups are created.

  3. #3
    Registered Member
    Join Date
    Jun 2005
    Posts
    11

    Default

    ok thanks for the quick reply.

    What brought them to my attention in the first place is I'm getting an "Excessive resource usage" report from lfd saying:

    Command Line: /bin/gtar -c -f - -X /home/accounthere/cpbackup-exclude.conf

    Has been running for on 7 hours now -- seems pretty odd

  4. #4
    Registered User
    Join Date
    May 2008
    Posts
    4

    Angry

    Yeah, I've been getting the same messages just today too.

    I'm having to kill the process but I'm just getting more messages for the next one in the list

  5. #5
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    11,431
    cPanel/WHM Access Level

    Root Administrator

    Lightbulb

    Might want to put in a ticket to cPanel so the Devs can have a look.

  6. #6
    Registered Member
    Join Date
    May 2004
    Posts
    44

    Default

    I'm having the same issue, lfd is reporting the following:

    Time: Fri Jan 23 08:44:31 2009 -0500
    Account: someuser
    Resource: Process Time
    Exceeded: 23527 > 1800 (seconds)
    Executable: /bin/tar
    Command Line: /bin/gtar -c -f - -X /home/someuser/cpbackup-exclude.conf .
    PID: 14354
    Killed: No

    For me it only happens for one account, yesterday I killed this, and the rest of cpbackup ran fine.

    Here were the backup processes running today:
    root 27556 0.0 0.0 4288 1700 ? SN 01:00 0:00 /scripts/cpbackup
    root 13762 0.0 0.0 1396 360 ? SN 02:11 0:01 /usr/local/cpanel/bin/cpuwatch 2.0 /scripts/pkgacct someuser /backup/cpbackup/daily backup
    owaneco 14354 0.0 0.0 1720 828 ? SN 02:12 0:02 /bin/gtar -c -f - -X /home/someuser/cpbackup-exclude.conf .
    Last edited by greetingsc; 01-23-2009 at 08:43 AM. Reason: Added running processes.

  7. #7
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    11,431
    cPanel/WHM Access Level

    Root Administrator

    Lightbulb

    I think you'd want to exclude the exclude file to stop these alerts. Backups were running, CSF doesn't "know" cpbackup-exclude.conf and so is flagging it for you to check out. (set to ignore if you choose to)

    For me it only happens for one account,
    How large is the account out of curiosity?

  8. #8
    Registered Member
    Join Date
    May 2004
    Posts
    44

    Default

    It isn't a lfd issue, that is just helping bring the issue to life, the issue is:
    </bin/gtar -c -f - -X /home/someuser/cpbackup-exclude.conf> is running forever unless it is manually killed.


    The account only has 300 megs in the homedir.

    Mike

  9. #9
    Registered User
    Join Date
    May 2008
    Posts
    4

    Default

    Yeah, this isn't stopping for me. The affected accounts are minimal too. I let one run overnight. It ran for about 10 hours before I killed it.

    Something pretty wrong. I think I'll submit a ticket.

  10. #10
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    11,431
    cPanel/WHM Access Level

    Root Administrator

    Lightbulb

    I just backed up an account that's almost 4 GB and I did see this but it was not using a lot of CPU and ended when the backup ended. Seemed to be fine here. (CURRENT)

  11. #11
    Registered Member
    Join Date
    Sep 2002
    Posts
    95

    Default

    Anyone found a resolution to this? I've started seeing these on one box today, and like the others, it will run indefinitely until manually ended. Strace shows it just sitting doing nothing, so it appears hung.

Similar Threads

  1. Question about cpbackup-exclude.conf
    By wtsdyo in forum Data Protection
    Replies: 6
    Last Post: 09-18-2014, 09:15 AM
  2. /etc/cpbackup-exclude.conf and mysql
    By rclemings in forum Data Protection
    Replies: 0
    Last Post: 06-21-2012, 03:22 PM
  3. Question about cpbackup-exclude.conf
    By Nick57 in forum Workarounds and Optimization
    Replies: 10
    Last Post: 11-01-2011, 11:43 AM
  4. pkgaccount and cpbackup-exclude.conf
    By TaneNZ in forum Data Protection
    Replies: 9
    Last Post: 08-01-2011, 02:57 PM
  5. cpbackup-exclude.conf format
    By deadlock in forum Data Protection
    Replies: 5
    Last Post: 12-30-2008, 03:29 PM
bargain