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.

Ownership during backup process

Discussion in 'General Discussion' started by vanbc, Mar 23, 2004.

  1. vanbc

    vanbc Member

    Joined:
    Feb 29, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I have a number of 50MB accounts, and I've found that I have trouble with file ownership during backup on these accounts. I have my settings so that backup produces a daily compressed file, but I noticed that in making this backup, it copies each file to the backup directory, ownership intact, then compresses. If the user is using more than half of his disk space, the backup starts failing because the alotted disk space fills up before the backup is complete.

    How can I go about ensuring that the backup process can complete successfully? I shouldn't really have to give each user 100MB for each 50MB account just so cpanel can do backups??

    Thanks
     
  2. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    If you can, don't use user quotas in the backup partition.
     
  3. vanbc

    vanbc Member

    Joined:
    Feb 29, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Unfortunately I don't have a separate partition for backups at the moment, I'm on a VPS. I was thinking maybe it would be possible to add something to the backup cron to temporarily change ownership? i dunno, I'm new to this.
     
  4. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    If you change the ownership you'll have problems when extracting files from the backup. You might perhaps change the quota limits during the backup and back to normal when the files are compressed.
     
  5. vanbc

    vanbc Member

    Joined:
    Feb 29, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    can that change be automated? how would I go about that?
     
  6. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
Loading...

Share This Page