mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-25 09:54:47 +01:00
d50e553ebb
We assumed that `zfs recv -F FS` would basically replace FS inplace, leaving its children untouched. That is in fact not the case, it only works if `zfs send -R` is set, which we don't do. Thus, implement the required functionality manually. This solves a `zfs recv` error that would occur when a filesystem previously created as placeholder on the receiving side becomes a non-placeholder filesystem (likely due to config change on the sending side): zfs send pool1/foo@1 | zfs recv -F pool1/bar cannot receive new filesystem stream: destination has snapshots (eg. pool1/bar) must destroy them to overwrite it |
||
---|---|---|
.. | ||
test_helpers | ||
datasetpath_visitor_test.go | ||
datasetpath_visitor.go | ||
mapping.go | ||
placeholder.go | ||
prometheus.go | ||
replication_history.go | ||
resume_token_test.go | ||
resume_token.go | ||
versions.go | ||
zfs_debug.go | ||
zfs_pipe_linux.go | ||
zfs_pipe.go | ||
zfs_test.go | ||
zfs.go |