> rsync -v -rlt <directories>
>
> Can anyone suggest a better option set which could make this a two way
> sync by just running on the one server?
>

You can run rsync twice on the one server

rsync -options server1:/dir1 /dir1
rsync -options /dir1 server1:/dir1

with the rsync options, you probably want

-u, --update                skip files that are newer on the receiver

you could also play with git-annex for a smarter sync. In a nutshell the
file metadata is
kept under version control, not the files.

There's also ceph, there was a talk on ceph at slug, i think, a few months
ago.

-- 
http://linuxsupportsydney.com.au
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to