bzip2 gives similar errors when testing. It seems the backup file gets corrupted somehow. Does anyone know how to check the integrity of the original files? Jeroen On Friday 30 April 2004 13:39, Alexander Dalloz wrote: > Am Fr, den 30.04.2004 schrieb J.L. Coenders um 11:24: > > I have now tried it from the command line and > > $ tar tzf mytar.tgz > > gives: > > > > gzip: stdin: invalid compressed data--format violated > > tar: Child returned status 1 > > tar: Error exit delayed from previous errors > > > > Any ideas? > > I think you first want to ctar and compress. "tar tzf" is the command to > test an existing tar.gz ball. > > tar czvf Mail.backup.tar.gz ~/Mail > --> will produce your backup file > > tar tzvf Mail.backup.tar.gz > --> will print you out the content of the backup file, but will not > deflate it > > Instead of parameter z which stands for using gzip you can use j which > stands for bzip2. See "man tar" and "tar --help". > > tar cjvf Mail.backup.tar.bz2 ~/Mail > --> will better compress than using gzip > > Alexander