Backups not completing

rnelan

Member
Jan 22, 2014
14
0
1
Waldorf, MD
cPanel Access Level
DataCenter Provider
Hi CPMichael, sorry to resurrect this thread, but just wanted to say that I have an account that is not being backed up although it is selected for backup in the "Backup User Selection" section. Any ideas what could be going on?

Also, a bit of a strange behavior is noted with FTP backups, the new backups go where I tell them to go, but are creating empty directories along with the accounts.. For example, the backup directory is /Backups/cPanel/ and what I get is /Backups/cPanel/servername/date/ and inside that sub, accounts as well as another Backups directory that is empty... Strange indeed.. Happens every day, and I have to go in and delete the spare directories when I look to make sure all the accounts are backed up.. (Although they arent)..
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

I moved this post to it's own thread. Please check the log files in:

/usr/local/cpanel/logs/cpbackup/

Are there any references to the account that is not backed up?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Do you notice any error messages when the account is backed up? Please post any such errors to this thread so we can get a better understanding of why it's failing.

Thank you.
 

rnelan

Member
Jan 22, 2014
14
0
1
Waldorf, MD
cPanel Access Level
DataCenter Provider
Thanks Michael, not seeing any error messages. as a matter of fact it looks like the file is being archived. If I knew where the backups are being stored on the server, I would look there to see if there are any files.. but, as far as FTP goes, the file for that account is not being sent to the FTP server.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
The remote destination transfer log is located at:

Code:
/usr/local/cpanel/logs/cpbackup_transporter.log
Check this file to see if there are any problems with the transfer itself.

Thank you.
 

rnelan

Member
Jan 22, 2014
14
0
1
Waldorf, MD
cPanel Access Level
DataCenter Provider
ok, just found the hidden directory backups.. in it would you believe is exactly one tarball in the accounts subdirectory.. the one I am missing.. So, none of the other accounts are being stored locally in backups and the one account that isnt making it to the FTP server is being stored locally.. WTF???
 

rnelan

Member
Jan 22, 2014
14
0
1
Waldorf, MD
cPanel Access Level
DataCenter Provider
Hi Michael, while searching through the cPanel forums for more folks that had the same problem I found this thread.. http://forums.cpanel.net/f49/backup-error-385631.html

Today is the first day i have gotten this error, so naturally i started looking for a solution.
Code:
"The following errors were discovered in the backup process that you should be aware of:

	* /home/lolowahi/public_ftp: Unable to open directory: Permission denied at /usr/local/cpanel/scripts/pkgacct line 1799.

Please see the attached log file for details."
It seems that the right account had ownership of the directory, but the permissions were d---------. so, something got messed up. I am CHMOD'ing the directory to 750 per your suggestion in that other thread and running a backup to see if we are good to go right now..

Still have the mystery directory creation problem, every night I get a new directory called cPanel with 2 empty subdirectories (one with the date and one with the server name) in my FTP backup.. not sure where that comes from as it is not configured in WHM anywhere that I know of.. see attached..
 

Attachments

rnelan

Member
Jan 22, 2014
14
0
1
Waldorf, MD
cPanel Access Level
DataCenter Provider
Well, it did the same thing again. skipped the one account directory and created the empty cpanel with subdirectories.. I have pruned the transporter log down to today only and attached it.. There is the automated after midnight run then there is another manual run this morning around 8am.. Perhaps the mystery is in that file somewhere?

See attached..
 

Attachments

cPanelPeter

Technical Analyst III
Staff member
Sep 23, 2013
575
21
143
cPanel Access Level
Root Administrator
Twitter
Hello,

Could you open a support ticket using the link within my signature? Please post the ticket number here once you have opened it, so that we can update this thread accordingly.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
To update, it appears the backups are now successfully uploaded to the remote FTP server after increasing the timeout value in the backup configuration page in WHM.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hey Michael, not so fast!! ;)

Chris is still working it today.. We thought we had it isolated, but no luck same issue after last night's backup..
It looks like two tickets are open for separate issues. Feel free to let us know the outcome when both of the tickets have been resolved.

Thank you.