Server Fault is a question and answer site for system and network administrators. 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 have my home folder with a few GB.

Is it possible to run tar on it, create a home.tar.gz, and then for changed files, it creates home1.tar.gz only with modified files from previous tar (thus being an incremental backup)?

I would like to check the resulting checksum files and export them as well like home.md5, home1.md5, etc. (I know this could be another process, but interesting as well).

share|improve this question
up vote 2 down vote accepted

What you describe is very similar to the way backup2l operates. You declare a home directory to backup and the 'backup scheme' (basically, the levels of backups).

The end result is a set of tar.gz files with incremental backups. You don't even need the backup2l tool to restore files (although is very convenient).

Optionally it can generate md5 checksums (option -m).

backup2l is a bash script, so you can make it fit your needs.

share|improve this answer
I was looking for JUST the tar utility, but since this backup2l is just a bunch of bash scripts, it's still simple. And this way I can learn from it's source, it looks like it's design is very clean. Thanks for this suggestion! – Somebody still uses you MS-DOS May 13 '10 at 13:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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