LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 09-07-2006, 08:34 AM   #1
alcor
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
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,299

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

http://www.nongnu.org/rdiff-backup/index.html

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.
 
  


Reply


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


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

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