Re: archivemail screwed up (some of) my backups

2016-05-11 Thread steve
Hi Sven, I have been using archivemail since March 2003, always with compression. My configuration generates a new gzipped archive for every month for every IMAP folder. To give you some peace of mind, I just did a simple decompression test of all archives [~5000 right now] (gunzip $file > /de

Re: archivemail screwed up (some of) my backups

2016-05-11 Thread Sven Hartge
steve wrote: > I understand, but since I have more or less 2/3 of the *.gz that are ok, > I thought archivemail was the responsible. But after gunzipping some > other files, it seems that the problem only arises on ISO-8850 text file, > not on UTF-8. But not tech savvy enough to know why. > The

Re: archivemail screwed up (some of) my backups

2016-05-11 Thread steve
Hi Thomas, Thanks for your answer! Le 11-05-2016, à 12:22:18 +0200, Thomas Schmitt a écrit : steve wrote: gzip: mail_archive.gz: invalid compressed data--crc error It seems that gunzip You're right, with gunzip < file.gz > file, I can recuperate almost the whole file: ls -l -rw-r--r-- 1

Re: archivemail screwed up (some of) my backups

2016-05-11 Thread Thomas Schmitt
Hi, i have to correct a copy+paste error in my last mail. The mangling step should have been dd if=/dev/zero bs=1 count=1 of=xx.gz seek=1000 conv=notrunc rather than dd if=/dev/zero bs=1 count=1 of=/u/x.gz seek=1000 conv=notrunc Have a nice day :) Thomas

Re: archivemail screwed up (some of) my backups

2016-05-11 Thread Thomas Schmitt
Hi, steve wrote: > gzip: mail_archive.gz: invalid compressed data--crc error It seems that gunzip xx.gz which yields more than 1000 bytes. Then i damaged it: dd if=/dev/zero bs=1 count=1 of=/u/x.gz seek=1000 conv=notrunc and tried to uncompress gunzip xx.gz which yields gzip: xx.gz:

archivemail screwed up (some of) my backups

2016-05-11 Thread steve
Hi there, This is my first post on this mailinglist, so I hope to find the right tone pretty quickly. If not, please correct me gently  ;-) I'm using archivemail to archive my messages on a Jessie box up to date. Recently I needed to find an old message so I tried to gunzip the mail_archive.gz f