LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Incremental Backup (tar command) (https://www.linuxquestions.org/questions/slackware-14/incremental-backup-tar-command-340216/)

maginotjr 07-05-2005 09:53 AM

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.

Namaseit 07-05-2005 09:58 AM

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.

keefaz 07-05-2005 10:05 AM

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

hari_seldon99 07-20-2005 04:08 PM

Has anybody tried mondo rescue for inc bkps? Can it even be done?

lowpro2k3 07-21-2005 01:04 AM

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

:study:


All times are GMT -5. The time now is 12:29 PM.