[wellylug] rsync and other tools

David Antliff dave.antliff at paradise.net.nz
Sun Jun 6 19:54:24 NZST 2004


On Sun, 6 Jun 2004, Jethro Carr wrote:

> On Sun, 2004-06-06 at 13:44, Enkidu wrote:
> > I'm investigating rsync to synchronise two websites.  Is rsync the
> > best choice? What do others use? Ideally I'd like to do a diff on the
> > remote directories and the local directories and optionally a diff
> > (manual) between a remote file and a local one if there are
> > differences I am suspicious of.
>
> rsync is great. I use it for the wellylug website and backing up my
> laptop to my desktop.(with ssh)

Rsync is very useful, however it doesn't do 2-way syncronisation very well
at all (especially if you want it to remove 'deleted' files). There's
another tool that performs 2-way syncs, but I can't recall what it's
called. Perhaps check freshmeat if you want to preserve independent
changes to both sites?

Out of interest, I use rsync for disk-to-disk sync with my mp3 player -
works very well, although I have to use certain rsync and mount options
since my mp3 player has a FAT32 filesystem and certain things that rsync
looks for in a file (permissions, modification time, etc) are lost when
copying to FAT32.  Also, the Linux fat32 driver (vfat) has a habit of
messing up the case of filenames (short vs. long filenames) so I use the
Win95 driver mode so that rsync can handle the filenames properly.

-- 
David.




More information about the wellylug mailing list