On 8/16/05, Colin O'Keeffe <ilugcolin at gmail.com> wrote:
> How can I sync two directorys,
>> /home/stuff
>> to
>> /storage/backups/stuff
>> there both on the same machine..
>> thanks
Unison (http://www.cis.upenn.edu/~bcpierce/unison/) is a nice file
synchroniser. It goes 'both ways' and is more advanced than rsync
--delete, as any new files in /storage/backup/stuff would be copied
over to /home/stuff. Not very useful for backups, better for syncing
two machines.
This page (http://www.mikerubel.org/computers/rsync_snapshots/) has a
information on snapshot backups using rsync and hardlinks.
I'd also like to give http://www.nongnu.org/rdiff-backup/ a go
sometime. The problem with the rsync/hard link appraoch is that if you
change a file, it stores the whole of the file, not the diffs. Though
one is into versioning software there.
Rory
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!