Backups not working completely

slinky

Well-Known Member
Jul 26, 2007
78
2
58
When I choose to do a full backup using "generate backup" which gives you the full backup and choice of download or dumping it somewhere, I end up getting something quite small that doesn't have everything in it. It cuts out when the file is 3MB or so and definitely doesn't back up databases. There is plenty of space on the backup drive and also on the account which I am using. This didn't used to happen and only occurs since a cpanel update at some time past. The only way to generate truly full backups is to go to the backup wizard and download a backup of the public area and then download each database. Anyone experience this as well?
 

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166
Not seeing the issues on the recent latest release of the cPanel. What do you get when you run /scripts/pkgacct cPanelusername in SSH?
 

slinky

Well-Known Member
Jul 26, 2007
78
2
58
Not seeing the issues on the recent latest release of the cPanel. What do you get when you run /scripts/pkgacct cPanelusername in SSH?
Interesting... that seems to work perfectly but launching in cPanel does not. I just upgraded everything yet again and we'll see how it goes. There is funky stuff going on with Perl Instlal modules (gettext) which give me out of memory errors that are cpanel related. My machine has more than enough RAM.

Thanks for this tip as at least the backup in this manner works. It also worked downloading. It just didn't work using cPanel and dumping the backup below the web root directory.
 

slinky

Well-Known Member
Jul 26, 2007
78
2
58
Hmmm... it seemed to work but I have no idea where it dumped the archive. It's not at the root level or below it unless the above was a test run.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
Hmmm... it seemed to work but I have no idea where it dumped the archive. It's not at the root level or below it unless the above was a test run.
pkgacct typically places the archive in /home, or what matches HOMEMATCH in /etc/wwwacct.con
 

slinky

Well-Known Member
Jul 26, 2007
78
2
58
pkgacct typically places the archive in /home, or what matches HOMEMATCH in /etc/wwwacct.con
OK - I have discovered the problem. I downloaded the backup generated below the root of the public_html. The "full" backup seems to backup everything but the public_html directory. Any solutions as to why it's omitting this rather important directory? :D
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
Is there any pattern to what is being excluded? For example, all files that are owned by nobody, instead of the user.
 

slinky

Well-Known Member
Jul 26, 2007
78
2
58
For me it seems to be almost always the public_html directory that is not completed. It is consistent and repeatable and it does it every time.
 

slinky

Well-Known Member
Jul 26, 2007
78
2
58
Guys - still nothing. The homedir which contains public_html never gets created doing a backup that is supposed to write it to the home directory. When I try to download a tarball of same generated on the fly using the wizard, I get an error towards the end that the file could not be read.

backup-mysite.com-4-9-2008.tar.gz.part could not be saved, because the source file could not be read.

This is getting ridiculous. I am now pretty sure that all my "successful" automated backups are also not completing even though they say they are. I'll have to take out a ticket but thought everyone should know I'm having this problem.