Offsite Replication

Brad Fitzpatrick brad at danga.com
Mon Jun 25 20:19:10 UTC 2007


You should be able to write a ReplicationPolicy subclass for it.

The perhaps non-existent part is marking a device as "alive to get new
files from the replicator, but not alive enough to serve traffic".  We
have the opposite of that recently (drain), which serves traffic, but
doesn't get new files, and adding drain supported made us abstract out all
the state stuff, so adding new states is easy.  Wonder what we'd call that
state... so far we have alive, down, dead, readonly, drain ...

The other option is doing backups outside of MogileFS, just copying FID #1
offsite, then #2, then #3... since it's all sequential, your backup
software can resume where it left off quite easily.

I'd love to get the "get files but don't serve from them" support into the
core, though.  Seems useful.


On Fri, 22 Jun 2007, Erik Osterman wrote:

> We would like to have files replicated automatically to offsite devices.
> These offsite devices would not and should not be used by MogileFS
> clients;  they should only be used as a remote backup. Has it been
> suggested or is there otherwise a way to accomplish this with the
> current (svn) version of MogileFS?
>
> Best,
>
> Erik Osterman
>
>
>
>


More information about the mogilefs mailing list