cpanel full backup of large account

marm

Member
Oct 4, 2013
5
0
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.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
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.
 

marm

Member
Oct 4, 2013
5
0
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?
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
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.
 

swapz

Registered
Oct 8, 2012
0
0
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