I run a Debian Linux mailserver for a few little companies that stores its emails in a Maildir structure and therefore each mail as a seperate plain text file.

Altogether these files are as large as about 45 GB.

Even though I am backing up the files online I want to download them to store them on another physical backup media.

Evaluated statistically each 5th mail has one file attachment being as large as about 1.2MB. What would be a good compression for this files? The speed of the compression is of low priority because I do only work on archived data not the productive one.

I am not asking for the "best" solution as I know there isn't one but am looking for your recommendations.

up vote 1 down vote accepted

Use tar to create an archive, then compress the archive with something simple, like plain gzip, or something that compresses better, like xz --best -e. Then transfer the compressed archive to the backup media.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.