Hi. I have two servers located in two different time zones. I want to know if there is a way to keep the shares synchronized. Right now what i thought is to run rsync from Server A to Server B . However the issue is say Server B has a new version of the file in server A and that should not be overwritten but should be copied back to server A. How to go about this? Regards Janantha
Try a cluster file-system , look at "glusterfs". Good Luck Daniel ----------------------------------------------- EDV Daniel M?ller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 T?bingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: mueller at tropenklinik.de Internet: www.tropenklinik.de ----------------------------------------------- -----Urspr?ngliche Nachricht----- Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von Janantha Marasinghe Gesendet: Dienstag, 24. April 2012 05:20 An: samba at lists.samba.org Betreff: [Samba] Synchronizing multiple samba servers Hi. I have two servers located in two different time zones. I want to know if there is a way to keep the shares synchronized. Right now what i thought is to run rsync from Server A to Server B . However the issue is say Server B has a new version of the file in server A and that should not be overwritten but should be copied back to server A. How to go about this? Regards Janantha -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
ciradhb.forward at laposte.net
2012-Apr-24 08:13 UTC
[Samba] Synchronizing multiple samba servers
Hi, Maybe you could have a look to Unison which is a tool like rsync but in bidirectionnal way . http://www.cis.upenn.edu/~bcpierce/unison/index.html Henri ? ?> -----Message d'origine----- > De?: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] De la part de Janantha Marasinghe > Envoy??: mardi 24 avril 2012 07:20 > ??: samba at lists.samba.org > Objet?: [Samba] Synchronizing multiple samba servers > > Hi. > > I have two servers located in two different time zones. I want to know if there is a way to keep the shares synchronized.? Right now > what i thought is to run rsync from Server A to Server B . However the issue is say Server B has a new version of the file in server A and > that should not be overwritten but should be copied back to server A. How to go about this? > > Regards > Janantha > -- > To unsubscribe from this list go to the following URL and read the > instructions:? https://lists.samba.org/mailman/options/sambaUne messagerie gratuite, garantie ? vie et des services en plus, ?a vous tente ? Je cr?e ma bo?te mail www.laposte.net
>Is it possible to use rsync instead? i saw that there is a -u option. >What you need is a bidirectional file-sync. Even it can be improvised with rsync, unison is the better choice. Unison is based on rsync and syncs files in both directions automatically, and to be on the safe side, it can be set to resolve conflicts manually. Cheers, Christian ==========================================================Dipl.-Ing. Christian Rost roCon - Informationstechnologie Ulmenstra?e 45 44534 L?nen fon: +49 (0) 2306 910 658 fax: +49 (0) 2306 910 664 url: http://www.rocon-it.de --------Janantha Marasinghe <jananthadm at gmail.com> wrote-------- Subject: Re: [Samba] Synchronizing multiple samba servers Date: 25.04.2012 10:15>Is it possible to use rsync instead? i saw that there is a -u option. > >On Tue, Apr 24, 2012 at 6:36 PM, Janantha Marasinghe ><janantha at janantha.net>wrote: > >> Thanks a lot all . i will look into unison >> >> >> >> On 4/24/2012 1:43 PM, ciradhb.forward at laposte.net wrote: >> >> Hi, >> >> Maybe you could have a look to Unison which is a tool like rsync but in >> bidirectionnal way . >> http://www.cis.upenn.edu/~bcpierce/unison/index.html >> >> Henri >> >> >> >> >> >> > -----Message d'origine----- >> >> > De : samba-bounces at lists.samba.org >[mailto:samba-bounces at lists.samba.org<samba-bounces at lists.samba.org>] >> De la part de Janantha Marasinghe >> >> > Envoy? : mardi 24 avril 2012 07:20 >> >> > ? : samba at lists.samba.org >> >> > Objet : [Samba] Synchronizing multiple samba servers >> >> > >> >> > Hi. >> >> > >> >> > I have two servers located in two different time zones. I want to know >> if there is a way to keep the shares synchronized. Right now >> >> > what i thought is to run rsync from Server A to Server B . However the >> issue is say Server B has a new version of the file in server A and >> >> > that should not be overwritten but should be copied back to server A. >> How to go about this? >> >> > >> >> > Regards >> >> > Janantha >> >> > -- >> >> > To unsubscribe from this list go to the following URL and read the >> >> > instructions: https://lists.samba.org/mailman/options/samba >> >> >> >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba >
Apparently Analagous Threads
- Slow writing on mounted glusterfs volume via Samba
- best way to access samba shares remotely without VPN
- Synchronizing two folders
- Update3: easy - automated setup : Debian Wheezy with sernet samba 4.1 : sysvol replication with unison.
- Keeping data on 2 servers in sync !