cygwin randomly creates bad .tar.bz2 file
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:
[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?