-   Linux - General (
-   -   help with tar incremental (

alcor 09-07-2006 09:34 AM

help with tar incremental
Hi !
I want to make incrementals backups.

So I do:
tar -g /var/snap -C /var/www -czf backup.tar.gz .

The next day, when I execute the same (only change the name of the file) it backup everything again.

If I execute 1 tar after the first it works fine ... but in dicfferents days .. it doesnt work ...

How I have to do ?? perhaps touch <CURRENT DATE> /var/snap before the tar ??

thanx for any help

kilgoretrout 09-07-2006 11:21 AM

I haven't used tar for incremental backups for some time. Instead I've switched to rdiff-backup:

It's very nice and very easy to use. It's also widely available in most distro repos. You might want to take a look at it.

All times are GMT -5. The time now is 07:17 AM.