New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add zfs replication #65407
Add zfs replication #65407
Conversation
I'll get those changes fixed into this pull request tonight. Thanks for the review and let me know what else I can do to prep this well for landing. |
I've done a little more tidying. Let me know if there is anything else I've overlooked. I'll resolve the merge conflict once the review starts looking like it's wrapping up. |
@alunduil yes. it is about merge conflicts. Just do a |
Needed by zfs-replicate.
Used by zfs.autoReplication module.
This adds a simple configuration for sending snapshots to a remote system using zfs-replicate that ties into the autoSnapshot settings already present in services.zfs.autoSnapshot.
@FRidh everything looks like it's passing at this point. Anything else I've overlooked or is this ready to land? |
Motivation for this change
I was looking for a simple no frills zfs replication of snapshots that matched the simplicity of services.zfs.autoSnapshot's configuration. This adds a straightforward single endpoint replication of snapshots using SSH and a small python utility, zfs-replicate.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)