Re: [Samba] Synchronizing multiple samba servers

2012-05-02 Thread Daniel Müller
I do not understand why you do not use Glusterfs in replication mode!?

---
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: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---
-Ursprüngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im
Auftrag von Charles Tryon
Gesendet: Montag, 30. April 2012 20:51
An: Samba list
Betreff: Re: [Samba] Synchronizing multiple samba servers

The "-u" option does skip "newer" files on the receiver, but it still
doesn't do the full bi-directional sync.  You could script to fire off a
second rsync to do the sync back again, but then you'd have to handle the
details of resolving (or at least saving) conflicts.  I think the point of
the "unison" program is that they've already thought through all those weird
combinations for you.


On Wed, Apr 25, 2012 at 4:13 AM, Janantha Marasinghe
wrote:

> 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
> wrote:
>
> >  Thanks a lot all . i will look into unison
> >
> >
> >
> > On 4/24/2012 1:43 PM, ciradhb.forw...@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-boun...@lists.samba.org [mailto:
> samba-boun...@lists.samba.org]
> > De la part de Janantha Marasinghe
> >
> > > Envoyé : mardi 24 avril 2012 07:20
> >
> > > À : samba@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
>



-- 
Charles Tryon
_
  “Risks are not to be evaluated in terms of the probability of success, but
in terms of the value of the goal.”
- Ralph D. Winter
--
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


Re: [Samba] Synchronizing multiple samba servers

2012-04-30 Thread Charles Tryon
The "-u" option does skip "newer" files on the receiver, but it still
doesn't do the full bi-directional sync.  You could script to fire off a
second rsync to do the sync back again, but then you'd have to handle the
details of resolving (or at least saving) conflicts.  I think the point of
the "unison" program is that they've already thought through all those
weird combinations for you.


On Wed, Apr 25, 2012 at 4:13 AM, Janantha Marasinghe
wrote:

> 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
> wrote:
>
> >  Thanks a lot all . i will look into unison
> >
> >
> >
> > On 4/24/2012 1:43 PM, ciradhb.forw...@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-boun...@lists.samba.org [mailto:
> samba-boun...@lists.samba.org]
> > De la part de Janantha Marasinghe
> >
> > > Envoyé : mardi 24 avril 2012 07:20
> >
> > > À : samba@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
>



-- 
Charles Tryon
_
  “Risks are not to be evaluated in terms of the probability of success,
but in terms of the value of the goal.”
- Ralph D. Winter
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Synchronizing multiple samba servers

2012-04-28 Thread Janantha Marasinghe

Thanks a lot all . i will look into unison


On 4/24/2012 1:43 PM, ciradhb.forw...@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-boun...@lists.samba.org 
[mailto:samba-boun...@lists.samba.org] De la part de Janantha Marasinghe


> Envoyé : mardi 24 avril 2012 07:20

> À : samba@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

Re: [Samba] Synchronizing multiple samba servers

2012-04-25 Thread Christian Rost
>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 <jananth...@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
>wrote:
>
>>  Thanks a lot all . i will look into unison
>>
>>
>>
>> On 4/24/2012 1:43 PM, ciradhb.forw...@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-boun...@lists.samba.org
>[mailto:samba-boun...@lists.samba.org]
>> De la part de Janantha Marasinghe
>>
>> > Envoyé : mardi 24 avril 2012 07:20
>>
>> > À : samba@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
>

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] Synchronizing multiple samba servers

2012-04-25 Thread Janantha Marasinghe
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
wrote:

>  Thanks a lot all . i will look into unison
>
>
>
> On 4/24/2012 1:43 PM, ciradhb.forw...@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-boun...@lists.samba.org 
> > [mailto:samba-boun...@lists.samba.org]
> De la part de Janantha Marasinghe
>
> > Envoyé : mardi 24 avril 2012 07:20
>
> > À : samba@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


Re: [Samba] Synchronizing multiple samba servers

2012-04-24 Thread ciradhb.forw...@laposte.net
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-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] De 
> la part de Janantha Marasinghe
> Envoyé : mardi 24 avril 2012 07:20
> À : samba@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



Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] Synchronizing multiple samba servers

2012-04-23 Thread Daniel Müller
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: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---
-Ursprüngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im
Auftrag von Janantha Marasinghe
Gesendet: Dienstag, 24. April 2012 05:20
An: samba@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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Synchronizing multiple samba servers

2012-04-23 Thread Janantha Marasinghe
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