LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 07-05-2005, 10:53 AM   #1
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 34
Incremental Backup (tar command)


I want to make a incremental backup

but I always get a error when trying to use the "g" option in tar, like this:
Code:
maginot@maginot:~$ tar cgfzv backupteste2.tar.gz documentos/configuracao-ultima
tar: Cowardly refusing to create an empty archive
Try `tar --help' or `tar --usage' for more information.
if I use without the g option them it creates the backup file I seted. But I want to create a weekly task of backup in cron, so I have to have the command right seted.

I want to backup the files every week so I want the incremental backup type.
 
Old 07-05-2005, 10:58 AM   #2
Namaseit
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 325

Rep: Reputation: 30
I'm not sure but this page has helped me a lot when making my backup scripts.

http://cclib.nsu.ru/projects/gnudocs...r/tar_toc.html

hope you find it useful.
 
Old 07-05-2005, 11:05 AM   #3
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
I never use the -g option but check this for incremental solution :
http://howtos.linux.com/guides/solrh...29sec306.shtml

As you can see, the use of the date command may be judicious
and you will be able to rotate the files with a /etc/logrotate.d/*
configuration file
 
Old 07-20-2005, 05:08 PM   #4
hari_seldon99
Member
 
Registered: Jun 2003
Location: Front of PC
Distribution: Linux Mandrake
Posts: 212

Rep: Reputation: 30
Has anybody tried mondo rescue for inc bkps? Can it even be done?
 
Old 07-21-2005, 02:04 AM   #5
lowpro2k3
Member
 
Registered: Oct 2003
Location: Canada
Distribution: Slackware
Posts: 340

Rep: Reputation: 30
Thumbs up

Quote:
Originally posted by Namaseit
I'm not sure but this page has helped me a lot when making my backup scripts.

http://cclib.nsu.ru/projects/gnudocs...r/tar_toc.html

hope you find it useful.
Good bedtime read

 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
incremental backup using tar eaglegst Linux - Software 9 02-01-2009 06:00 PM
rsync incremental backup sachin_keluskar Linux - Software 1 06-29-2005 03:09 AM
Incremental backup script - Tar problem joshheald Linux - Software 1 09-28-2004 11:02 AM
Getting date format right in tar incremental backup jonr Linux - Software 3 08-19-2004 10:53 AM
incremental backup reaky Linux - Software 3 03-10-2004 04:02 PM


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

Main Menu
Advertisement
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