BackupPC-users

Re: [BackupPC-users] BackupPC and DRBD - My experience so far

2009-09-16 19:18:55
Subject: Re: [BackupPC-users] BackupPC and DRBD - My experience so far
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 16 Sep 2009 18:14:17 -0500
Chris Robertson wrote:
> 
>>>> Have you investigated/tested what happens if one end or the other 
>>>> crashes or they lose connectivity for some period of time?   I think 
>>>> drbd has some tricks to deal with that but I don't know how well they 
>>>> work in practice.
>>>>   
>>>>       
>>> Well, I ran the BackupPC server without a partner for more than 2 weeks 
>>> without a hitch...
>>>
>>> Tell you what.  Let me just run downstairs and unplug the network cable 
>>> from the mirror server.  :o)
>>>
>>> I'll send another note in a couple hours with an account of what 
>>> happens, then I'll go re-plug it in and report further.
>>>     
> 
> Well, that was (expectedly) a boring test.  The BackupPC server was 
> running the BackupPC_nightly jobs when I pulled the mirror's net 
> connection.  At the time there were no out-of-sync entries.  Upon 
> network "break" the master reported "PingAck did not arrive in time" and 
> the peer was marked as Unconnected.  Before plugging the mirror back in, 
> the nightly job had finished.  A total of 860412K was marked as out of 
> sync.  Plugging the network cable back in caused a resync to 
> automatically run.  All is right with the world.
> 
> More fun would be to interrupt the synchronization during heavy access 
> (during backups or trashclean).  Then mark the backup as Primary see if 
> it mounts.
> 
> Perhaps a test for another day.  Truly I expect it would be akin to 
> mounting after a crash.

That seems dangerous for a long-distance connection.  I wonder if there 
is any way to 'snapshot' at points where you know you are in sync to a 
2nd remote copy or alternate updates between two so one would always be 
in a known-good state?

-- 
   Les Mikesell
    lesmikesell AT gmail DOT com



------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/