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.

Nasty CRC backup restore failure.Probably cPanel needs a feature to prevent this.

Discussion in 'Data Protection' started by Avensen, Aug 22, 2014.

  1. Avensen

    Avensen Member

    Joined:
    Feb 27, 2007
    Messages:
    15
    Likes Received:
    1
    Trophy Points:
    1
    Hi everyone,

    yesterday I needed to restore an account from a daily legacy backup, on a server which had "use pigz" option enabled during backup and during restore.

    I terminated the account and ran legacy backup restore from WHM. And to my surprise, restoration failed with tar CRC error message. Tried again, failed again: unable to unpack archive. CRC error mesage. HDD had enough space.

    I successfully restored the same account on the same box many times before, restoration never failed in past.

    To test tar.gz archive in question, I copied it to a Windows machine, unpacked it with WinRar -- no errors found.
    Then tested the archive on the server via shell by unpacking it with gunzip to dev/null - no errors found.

    How is this possible? Is this preventable? Can we have a feature in cPanel that checks created .tar.gz archives after backup complete for integrity (for CRC errors)?

    Also, some archive software, for example, WiinRar have a "recovery record" feature, description from Wikipedia:

    they can add extra bytes to archive to improve its "durability". Can we have a feature in cPanel that creates backup archives with extra recovery record?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    If the archive is extracted successfully using "tar" then it should still be salvageable. Could you open a support ticket using the link in my signature so we can review the archive and try to determine why it can't be used to restore the account? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  3. Avensen

    Avensen Member

    Joined:
    Feb 27, 2007
    Messages:
    15
    Likes Received:
    1
    Trophy Points:
    1
    Michael, already restored site from an earlier backup and deleted the archive in question, my fault. I'll open a ticket if this happens again. Sorry for the rant :)
     

Share This Page