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.

cpanel full backup of large account

Discussion in 'General Discussion' started by marm, Oct 4, 2013.

  1. marm

    marm Member

    Joined:
    Oct 4, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I own a dedicated server with multiple cpanel accounts on it. Some of those accounts size are 40gb. When I do a full backup of those accounts, the resulting archives are corrupted and the public_html folder is partially backuped. I know it is not a problem of free space, because I have about 500gb of free space in the home directory.

    So is there a way to backup large cpanel accounts with success?


    Thanks a lot.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please try backing up the account with a command such as:

    Code:
    /scripts/pkgacct username
    Do you see any errors output when the backup is generated?

    Thank you.
     
  3. marm

    marm Member

    Joined:
    Oct 4, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    Thanks for your fast reply. I always do my backups in command line with that command and I've never seen an error.

    At the beggining, the accounts where smaller and the backup did fine. But when they reach about 20gb the archive created by cpanel is corrupted. Is it possible that gzip cannot support large folders?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I have seen accounts that large or larger package successfully on multiple occasions. It sounds like it may be an issue specific to your system. Do you receive an error message when extracting the archive manually? Are you sure there is enough free space, disk inodes, and there are no system resource limits being met?

    Thank you.
     
  5. swapz

    swapz Registered

    Joined:
    Oct 8, 2012
    Messages:
    0
    Likes Received:
    0
    Trophy Points:
    0
    cPanel Access Level:
    Root Administrator
    Hi,

    There should not be any issue to backup large account with /scripts/pkgacct as mentioned by Michael.

    But however why don't you just skip large directories? E.g. public_html and then scp/rsync that entire directory.

    To skip directory put name of directory in cpbackup-exclude.conf in the user's home directory as

    ./public_html

    then run

    /scripts/pkgacct username --userbackup

    After that just restore the account and then copy your big-size directory

    Thanks
     
Loading...

Share This Page