Re: replicating data over 2 servers

From: Chris Shenton (chris_at_shenton.org)
Date: 05/27/03

  • Next message: Randy Smith: "Re: Expiring old mail in Maildir/"
    To: nbari@unixmexico.com
    Date: 27 May 2003 09:59:01 -0400
    
    

    nbari@unixmexico.com writes:

    > the problem when using rsync in both servers is that if data on server A
    > is updated, and data on server B is updated at the same time, there is a
    > chance to lost data.
    >
    > If a user writes to a file on server A and then rsyn is executed data will
    > be lost, and so if a users writees on server B an rsync tryis to fecth
    > from server A data will be lost

    I haven't used this yet but it sounds like it fits the bill:

      http://www.cis.upenn.edu/~bcpierce/unison/

      Unison is a file-synchronization tool for Unix and Windows. (It also
      works on OSX to some extent, but it does not yet deal with 'resource
      forks' correctly; more information on OSX usage can be found on the
      unison-users mailing list archives.) It allows two replicas of a
      collection of files and directories to be stored on different hosts
      (or different disks on the same host), modified separately, and then
      brought up to date by propagating the changes in each replica to the
      other.

      Unison shares a number of features with tools such as configuration
      management packages (CVS, PRCS, etc.), distributed filesystems
      (Coda, etc.), uni-directional mirroring utilities (rsync, etc.), and
      other synchronizers (Intellisync, Reconcile, etc). However, there
      are several points where it differs:

      [...]

    It's in /usr/ports/net/unison

    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: Randy Smith: "Re: Expiring old mail in Maildir/"

    Relevant Pages

    • RE: Lost quorum
      ... need 1 HBA and one connection from the server to the storage. ... | Thread-Topic: Lost quorum ... The disk I tried to ... |> with clusdisk and the cluster service disabled and only one server ...
      (microsoft.public.windows.server.clustering)
    • Re: Cant login anymore since an update
      ... The application 'gnome-session' lost its connection to the display:0.0; ... most likely the X server was shut down or you killed/destroyed the application. ...
      (Debian-User)
    • Cant login anymore since an update
      ... The application 'gnome-session' lost its connection to the display:0.0; ... most likely the X server was shut down or you killed/destroyed ...
      (Debian-User)
    • Re: ...and they thought Caesar had Gaul...
      ... Nice try on their part, but the substitution of Outlook for Notes, ... exactly no effect on archived mail stored on the server. ... of having my e-mail hosted on test versions of the Microsoft Exchange ... and certainly haven't lost any archived mail. ...
      (rec.arts.sf.fandom)
    • Re: A couple log entries...
      ... I am finding the lost rights are speicifc to certain shared ... folders; I've been able to reassign rights to the several main folders that ... the server and posting the results. ...
      (microsoft.public.windows.server.sbs)