-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to properly achieve asymmetric multi-site backups #939
Comments
Personally, I just put things in a hierarchical order that works for me, and use recursion. In other words, put the stuff to back up to C below the stuff to back up to B. So, you have a data structure on host A like If for some reason you can't possibly organize your datasets hierarchically, well, you already found the The biggest thing that usually trips people up about n-way replication is that the sync snapshots don't really work well anymore, because they get replicated to foreign machines that don't know what to do with them (and therefore they pile up and run you out of disk space, if you don't manually keep up with them). Generally, if you're doing A->B and A->C (or any other topology of more-than-two-way replication) you should be using Obviously, you do need to monitor your ongoing replication to make sure you don't fall out of sync--otherwise, if you fail to replicate too many times in a row, you eventually wind up with no common snapshots with the source. |
Thank you for the quick answer on this! The hierarchical approach does not work for some of my situations.
The thing I actually want to do is I'm already making use of Is my understanding correct that therefore I should go with option 1 outlined in my opening post? |
Let there be three hosts:
A
,B
andC
. All of them use ZFS.A
is the primary production server.B
is an on-site backup destination host with plenty of storage.C
is a remote backup destination host with not so much storage.What I'd like to achieve is to backup everything from host
A
to hostB
. This is what is working nicely so far.On top of that, I'd like to have host
B
backup some datasets to host C.What is the proper, correct way of achieving this?
On host
A
I use the ZFS propertysyncoid:sync
to select which datasets to push to hostB
(or rather, which datasets not to push).I basically see two options to achieve this:
B
, also use thesyncoid:sync
property to select which datasets to push to hostC
.A
, set thesyncoid:sync
property to eitherB
orB,C
selectively.Specifically I'd like to ask:
The text was updated successfully, but these errors were encountered: