[Box Backup] Two backup-servers
Markus Liljergren
boxbackup@fluffy.co.uk
Sun, 27 Jan 2008 16:24:10 +0100
Hi All,
I'm trying to figure out the best way to deploy BoxBackup as a service
for my servers. All services provided by my servers have redundancy in
the way that there is always another server ready to take over one or
more services in the event of one server failing to provide its assigned
services.
When implementing BoxBackup in this setup I would like to have all data
stored on two different servers (with limited bandwidth between them,
for example NFS-based solutions would not work well). It would be
preferable if the clients didn't have to backup to the two servers
separately. I would like to synchronize the data from one server to the
other, if the master-server (the one clients connect to) goes down the
corresponding DNS-entries will change to the secondary server and let
the clients connect there. The moment the secondary takes over it will
be considered the master-server, when the original master-server is back
online a synchronization back to it will be run after which it regains
it master-server status. If the clients have to send some data already
sent because of some data missing on the server that wouldn't be a big
problem, since it only occurs when one server is down.
The question I have, is it possible to do it in this or a similar way
without risk of corruption due to incomplete syncs on server-failure?
Should I just abandon this and have the clients send backups to two
different servers?
Any thoughts would be very much appreciated.
Best Regards,
Markus Liljergren