Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .