On Thu, 2005-12-08 at 20:36, Sudev Barar wrote:
I use rsync to synchronize 4 locations, but I fillow the master/slave route, i.e directories are synchronized only one way, each server holding the master copy of it's data and read-only copies of the other server's data. I would have preferred to use unison for proper synchronization but i need to copy ACLs as well and as I understand this is not possible. Am I wrong about this?
There are options for transferring ownership and perms (-owner and -perms), although I admit I haven't tried them. If they don't work right, but you know how things are supposed to look, you can always run chmod & chown afterward.
rsync also has time tags and you can use them to determine if the file on download side is newere and hence excluded from sync. We do it this way and keep all data as fully functional on three locations.
Some one on another list pointed out tsync but have not had the time to llok it up and test it. No idea about unison, will also put it on list of things to do! Thanks.
Are you trying to sync a directory with activity at both locations? What happens when files are being changed during the sync process or the same file is updated differently in two locations at the same time?