Re: zfs replication tool

From: parv/FreeBSD <parv.0zero9+freebsd_at_gmail.com>
Date: Fri, 23 Sep 2022 09:51:30 UTC
On Thu, Sep 22, 2022 at 10:58 PM David Christensen  wrote:
...

> I wrote homebrew scripts to automate ZFS replication and I saw that
> error message many times in the past.  The solution was to add the '-F'
> option to the 'zfs receive' commands.  Is there a way to do this with
> zrepl?
>

That "-F" option, for "zfs-recv(8)", will remove existing file system
(on the receiver side). For the option to work, existing snapshots would
need to be destroyed first.

That is useful if one wants to re-set up backup file system & snapshots.
Else, what is even the point of incremental snapshot back ups.


- parv

--