Hi, This is my rsync command /usr/bin/rsync --compress \ --verbose \ --rsh=ssh \ --times \ --owner \ --group \ --ignore-times \ --links \ --perms \ --recursive \ --size-only \ --delete \ --force \ --numeric-ids \ --exclude-from=/etc/rsync.exclude \ --stats \ /etc \ root@target_machine:/home/backup/thismachine/ I am using the above commnd to take backups and i need to take a only incremental backups Which option i have to use and how to specify in source machine and target machine. I think i have to use --backup-dir=DIR option or anything else. PLease help me how to take only incremental backups daily. thanks for your help -------------- next part -------------- HTML attachment scrubbed and removed
I can answer this one! But mostly by directing you to an even better answer that is already written. Reading this article by Mike Rubel http://www.mikerubel.org/computers/rsync_snapshots/ Should give you some detailed idea of how to use the --link-dest feature. There is a tool called 'dirvish' that I am told does all this and more, using rsync as the underlying transfer mechanism http://www.dirvish.com/ -----Original Message----- From: rsync-bounces+r.atwood=imperial.ac.uk@lists.samba.org [mailto:rsync-bounces+r.atwood=imperial.ac.uk@lists.samba.org] On Behalf Of gg gg234 Sent: 07 December 2005 11:03 To: rsync@lists.samba.org Subject: incremental backup help required Hi, This is my rsync command /usr/bin/rsync --compress \ --verbose \ --rsh=ssh \ --times \ --owner \ --group \ --ignore-times \ --links \ --perms \ --recursive \ --size-only \ --delete \ --force \ --numeric-ids \ --exclude-from=/etc/rsync.exclude \ --stats \ /etc \ root@target_machine:/home/backup/thismachine/ I am using the above commnd to take backups and i need to take a only incremental backups Which option i have to use and how to specify in source machine and target machine. I think i have to use --backup-dir=DIR option or anything else. PLease help me how to take only incremental backups daily. thanks for your help
Den Dec 7, 2005 kl. 16:01 skrev Atwood, Robert C:> I can answer this one! But mostly by directing you to an even better > answer that is already written. > > Reading this article by Mike Rubel > http://www.mikerubel.org/computers/rsync_snapshots/ > > Should give you some detailed idea of how to use the --link-dest > feature.Or let rsyncbackup do incremental backups for you http://rsyncbackup.erlang.no Andreas -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2363 bytes Desc: not available Url : http://lists.samba.org/archive/rsync/attachments/20060102/e5d349fb/smime.bin