DragonFly users List (threaded) for 2010-12
Re: Info on clustering and HAMMER
On Thu, Dec 30, 2010 at 08:54:26AM -0500, Francisco Reyes wrote:
> I believe right now Hammer is able to replicate to a second machine in a
> master slave mode. However the only docs I have seen for data replication is
> Hopefully, others can add more info.
hammer's manual page is more complete:
I'm using the mirror-stream feature to do a pseudo-real-time backup of a
remote imap server.
hammer uses ssh for the transport. You have to do some initial key setup
to allow the backup machine to connect without trying to use passwords
and then it's as simple as that:
hammer -b 100k mirror-stream root@bigserver:/home backup.bigserv-home
This command synchronizes a local slave filesystem from the /home fs of
bigserver. Since the backup machine is behind a small ADSL line, the
bandwidth used is capped to 100 KB per second.
The remote machine may crash and burn, I'll still have a good copy of
its important data, up to the last few in-flight transactions.
This stuff beats periodic backup schemes hands-down.