The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Failed to perform full backup?

Discussion in 'Data Protection' started by mteigers, Mar 4, 2014.

  1. mteigers

    mteigers Member

    Joined:
    Jul 10, 2011
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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 => myemail@myemail.com via EMAIL [level => 2]
    Notification => root@mydomain.com via PAGER [level => 2]
    
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You may want to look into the following log message:

    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.
     
  3. mteigers

    mteigers Member

    Joined:
    Jul 10, 2011
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the response!

    I can't seem to read that file:

    Code:
    root@prime [~]# 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.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  5. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    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.
     
  6. mteigers

    mteigers Member

    Joined:
    Jul 10, 2011
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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 => polds@domain.com via EMAIL [level => 2]
    Notification => root@domain.com via PAGER [level => 2]
    
     
    #6 mteigers, Mar 12, 2014
    Last edited: Mar 12, 2014
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page