cpanel full backup of large account
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.
-
Hello :) Please try backing up the account with a command such as: /scripts/pkgacct username
Do you see any errors output when the backup is generated? Thank you.0 -
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? 0 -
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. 0 -
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 0
Please sign in to leave a comment.
Comments
4 comments