Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    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 => myemail@myemail.com via EMAIL [level => 2]
    Notification => root@mydomain.com via PAGER [level => 2]
    
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,197
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mteigers

    mteigers Member

    Joined:
    Jul 10, 2011
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    51
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,197
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    575
    Likes Received:
    20
    Trophy Points:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. mteigers

    mteigers Member

    Joined:
    Jul 10, 2011
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    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 => 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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,197
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice