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.

corrupted backup file?

Discussion in 'General Discussion' started by NNNils, Sep 13, 2004.

  1. NNNils

    NNNils Well-Known Member

    Joined:
    Sep 17, 2002
    Messages:
    580
    Likes Received:
    0
    Trophy Points:
    16
    I am untarring a backup archive manually and get this error:

    gzip: stdin: invalid compressed data--format violated
    tar: Child returned status 1
    tar: Error exit delayed from previous errors

    Anyone knows a cause / solution of this error?

    User is missing 70% of his data now.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    What was the tar command you used and what is the size of the backup file?
     
  3. NNNils

    NNNils Well-Known Member

    Joined:
    Sep 17, 2002
    Messages:
    580
    Likes Received:
    0
    Trophy Points:
    16
    tar -zxvf file.tar.gz

    Just while you posted your reply we found out that the archive is over 1 GIG

    While the user only had a quota of 500 MB

    Why did you ask about the size, are there certain limitations?
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    On some filesystems there can be limitations (the 2GB limit), but these days it shouldn't be a problem. If the tar unpacks them with the users uid/gid, then it might be worth increasing their quota temporarily to a much larger figure to make sure that isn't causing the problem.

    Worst case is that the backup file is corrupt, which wouldn't be nice.
     
  5. NNNils

    NNNils Well-Known Member

    Joined:
    Sep 17, 2002
    Messages:
    580
    Likes Received:
    0
    Trophy Points:
    16
    This error is not shown when restoring backup but when untarring the archive within /backup (which has enough space)

    Someone any idea why both the monthly and weekly backup are corrupted?

    This does not seem to be an accident but something structural that causes this.
     
  6. cPanelBilly

    cPanelBilly Guest

    the backups are backed up with the UID PID giev hima few gigs of space and then untar them
     
  7. NNNils

    NNNils Well-Known Member

    Joined:
    Sep 17, 2002
    Messages:
    580
    Likes Received:
    0
    Trophy Points:
    16
    Most of his files are nobody owned because they are uploaded through a script.
     
  8. NNNils

    NNNils Well-Known Member

    Joined:
    Sep 17, 2002
    Messages:
    580
    Likes Received:
    0
    Trophy Points:
    16
    tried this --> same result
     
Loading...

Share This Page