is there way to do "offline" mirror
Ronald Klop
ronald-lists at klop.ws
Tue Dec 15 10:07:03 UTC 2015
On Tue, 15 Dec 2015 23:41:45 +0100, Zeus Panchenko <zeus at ibs.dn.ua> wrote:
> greetings,
>
> is there way to do "offline" mirror?
>
> what I mean:
>
> host A has zpool with mirror of two md(4) file backed,
> snapshots are made regularly
>
> host B has no network connection with host A
>
> what is the correct way to get on host B the same mirror of host A?
>
> variants I suggest:
>
> 1. regularly copy files of the zpool mirror from A to B?
>
> 2. regularly do something like:
> on A: zfs sent snapshots at after-last-B-host-mirror-sync > diff-file
> on B: cat diff-file | zfs receive
>
> 3. something else ...
Option 2 is nice and efficient. Need to properly administrate the
diff-files so you don't miss anything. Bonus: you can even zfs diff the
diff-file to see what changed.
Regards,
Ronald.
More information about the freebsd-fs
mailing list