Failed to perform full backup?

mteigers

Member
Jul 10, 2011
7
0
51
I have nightly backups configured and they are supposed to send to S3 as well however my logs indicate that the backups are failing altogether

Here is my log:

Code:
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: /var/cpanel/dnsadmin/sock: socket ignored
/bin/gtar: Removing leading `/' from hard link targets
/bin/gtar: /var/cpanel/user_pw_cache/513: Read error at byte 0, while reading 87 bytes: Input/output error
/bin/gtar: /var/cpanel: file changed as we read it
/bin/gtar: Exiting with failure status due to previous errors
[backup] Failed to perform full backup of /var/cpanel/ to /backup/2014-03-04/system/dirs/_var_cpanel.tar.gz
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
[backup] System backups will not be uploaded to any remote destinations
Notification => [email protected] via EMAIL [level => 2]
Notification => [email protected] via PAGER [level => 2]
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,911
2,234
363
Hello :)

You may want to look into the following log message:

/bin/gtar: /var/cpanel/user_pw_cache/513: Read error at byte 0, while reading 87 bytes: Input/output error
Have you noticed any additional messages in /var/log/messages or /var/log/dmesg that might indicate filesystem errors or a failing hard drive?

Thank you.
 

mteigers

Member
Jul 10, 2011
7
0
51
Thanks for the response!

I can't seem to read that file:

Code:
[email protected] [~]# tail -n 15 /var/cpanel/user_pw_cache/513
tail: error reading `/var/cpanel/user_pw_cache/513': Input/output error
Would it be safe to delete?

Also log messages don't appear to indicate anything additional.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,911
2,234
363
You can try moving that file out of the way, but note that it's not normal for a file to display "Input/output error". It indicates a possibility that the file is corrupted.

Thank you.
 

cPanelPeter

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

Input/output errors like that are normally a bad indication that hard drive failure is imminent. I recommend you get that drive replaced ASAP. Check dmesg output for disk errors as well.
 

mteigers

Member
Jul 10, 2011
7
0
51
Awesome... So you're right about the hard drive failing :(.

Now it's even more important I get these backups working as all of my backups are local...

I'm getting the following errors:

Code:
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: /var/cpanel/dnsadmin/sock: socket ignored
/bin/gtar: Removing leading `/' from hard link targets
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
[backup] System backups will not be uploaded to any remote destinations
Notification => [email protected] via EMAIL [level => 2]
Notification => [email protected] via PAGER [level => 2]
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,911
2,234
363
The output in your last response does not show any specific error messages. The message you see is in reference to the system backups uploading to a remote destination. This is documented here:

System Backups

Thank you.