Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2015 11:06:47 +0100
From:      "Ronald Klop" <ronald-lists@klop.ws>
To:        freebsd-fs@freebsd.org
Subject:   Re: is there way to do "offline" mirror
Message-ID:  <op.x9ojplzdkndu52@ronaldradial.radialsg.local>
In-Reply-To: <20151215004145.69572@smtp.new-ukraine.org>
References:  <20151215004145.69572@smtp.new-ukraine.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Dec 2015 23:41:45 +0100, Zeus Panchenko <zeus@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.x9ojplzdkndu52>