Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I have cygwin installed on a Windows 2003 file server. Every night, a bash script is executed that backs up all the files on the server into a .tar.bz2 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    46

    cygwin randomly creates bad .tar.bz2 file


    Hi,

    I have cygwin installed on a Windows 2003 file server. Every night, a bash script is executed that backs up all the files on the server into a .tar.bz2 file. This backup file is then sent to our central linux backup server which backs it up to tape.

    The job has been working for several weeks. However, in the past couple weeks, it seems like 2 times in the week, the .tar.bz2 file is corrupt.

    The tar.bz2 file is usually between 4.5 and 5 GB. It is always written to the same spot on the hard drive.

    When I try to extract the file, I get an error telling me to run bunzip2 -tvv. When running bunzip2 -tvv, I get the following:

    (output omitted)
    [1303: huff+mtf rt+rld]
    [1304: huff+mtf rt+rld]
    [1305: huff+mtf data integrity (CRC) error in data

    You can use the `bzip2recover' program to attempt to recover
    data from undamaged sections of corrupted files.

    Can anyone give me some reasons why this would happen?

    Thanks.

  2. #2
    Linux Newbie
    Join Date
    Apr 2005
    Location
    CT --> PA
    Posts
    170
    is it always the same HD? and you said in the same place?

    sounds like you have some bad sectors in that HD of yours.
    Chicks dig giant mechanized war machines

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •