Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-05-2005, 10:53 AM   #1
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:
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
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.

hope you find it useful.
Old 07-05-2005, 11:05 AM   #3
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,541

Rep: Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866
I never use the -g option but check this for incremental solution :

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
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
Registered: Oct 2003
Location: Canada
Distribution: Slackware
Posts: 340

Rep: Reputation: 30
Thumbs up

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

hope you find it useful.
Good bedtime read



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 > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:05 PM.

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
Open Source Consulting | Domain Registration