LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Sync 2 directories on machine

[ILUG] Sync 2 directories on machine

Rory McCann ebelular at gmail.com
Tue Aug 16 10:18:04 IST 2005


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



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell