I have two offices in one city; employees work in both of them (once in office A, the next or an hour later in office B etc.). They would like to have the same profile (i.e., if they log off in office A, they would like to have their documents, Desktop, emails etc. in the profile in the office B when they arrive there an hour later). Is it possible with rsync to construct such a "two way file synchronizer"? We use Samba with roaming profiles (user profiles are stored on a server, so they can be easily transferred to the other server, but I have no clue how to make a two-way synchronization); "roaming" the profiles over WAN/VPN when the user logs in/logs off is out of question, as it would be way too slow. -- Tomek wpkg.org WPKG - software deployment and upgrades with Samba
Tomasz Chmielewski <mangoo@wpkg.org> writes:> I have two offices in one city; employees work in both of them (once > in office A, the next or an hour later in office B etc.). > > Is it possible with rsync to construct such a "two way file > synchronizer"?Try taking at look at unison, it, does exactly that: cis.upenn.edu/~bcpierce/unison -- Martin Geisler GnuPG Key: 0x7E45DD38 PHP Exif Library | PHP Weather | PHP Shell pel.sf.net | phpweather.net | mgeisler.net Read/write Exif data | Show current weather | A shell in a browser -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: not available Url : lists.samba.org/archive/rsync/attachments/20051108/83a3bd71/attachment.bin
Sumit malhotra schrieb:> use samba's postexec and preexec option with RSYNC, it > should resolve the issues.I tried that already, it's not reliable for this purpose, it seems to work only if someone connects / disconnacts to/from a share, and not always. -- Tomek wpkg.org WPKG - software deployment and upgrades with Samba