Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-07-2006, 08:34 AM   #1
LQ Newbie
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
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
Old 09-07-2006, 10:21 AM   #2
Senior Member
Registered: Oct 2003
Posts: 2,564

Rep: Reputation: 214Reputation: 214Reputation: 214
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
incremental backup using tar eaglegst Linux - Software 9 02-01-2009 05:00 PM
Incremental Backup (tar command) maginotjr Slackware 4 07-21-2005 01:04 AM
Incremental backup script - Tar problem joshheald Linux - Software 1 09-28-2004 10:02 AM
tar --newer .. or --list-incremental pfunk Linux - Software 1 06-21-2002 02:57 PM
Incremental tar backups Pepe Linux - General 5 03-18-2002 03:31 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration