-
I have a pool that I want to keep sync'd between two servers. I've completed the initial send with zfs_autobackup successfully except for one error about the root/parent dataset of the transfer existing IE:
That dataset is essentially empty. There's no file content within it, but it's the parent of everything else in this backup. All of the other child datasets have replicated successfully, and running zfs_autobackup again creates new snapshots as appropriate and does incremental transfers, all as expected. It's just that root dataset every time that complains. Is there any way to recover from this situation without doing a full delete everything & re-send? (That would take a minute...) Is there some common error I might have made that put me in this situation to begin with? Slightly abbreviated verbose log from a session is below. As a side note, I'm new to zfs_autobackup, and I really appreciate the simplicity and intuitiveness of its workflow. I've gone through a bunch of snapshot/send/receive tools and always found myself scratching my head at some of their decisions and fighting against their assumptions. zfs_autobackup fulfills the Principle of Least Surprise, at least for my expectations. It does what I expect, has sensible defaults, and seems like it should be a pretty good basis for backups I can depend on to JustWork™. Many thanks! Logs from the session:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
you can easily recover by running zfs-autobackup with --force one time. This will only overwrite the data in that dataset, and it will leave the child datasets alone. |
Beta Was this translation helpful? Give feedback.
you can easily recover by running zfs-autobackup with --force one time.
This will only overwrite the data in that dataset, and it will leave the child datasets alone.