Replies: 3 comments 10 replies
-
It seems a key bit of config for anyone doing ssh replication is to edit
Are there any other options that you think I should add? I think both of these options should be enabled by default when using znapzendzetup. Please explain why I wouldn't want to enable/use both of these options on all of my pools or have them enabled by default? |
Beta Was this translation helpful? Give feedback.
-
It seems that I have now got znapzend working to replicate snapshots via ssh under Ubuntu 22.04. I'm a pretty certain that it was the adding of the |
Beta Was this translation helpful? Give feedback.
-
I think part of the answer to my question is that there is no need to delegate ZFS permissions to a user on the source znapzend machine if you are running znapzend via systemd because systemd runs as root and root can execute all zfs commands. |
Beta Was this translation helpful? Give feedback.
-
I am trying to configure unprivileged (ie non-root and not using sudo) replication of snapshots to a remote pool via ssh using znapzend but the docs for this are a bit scant for my liking.
The README sez:
The user I have to configure on the destination pool (using
zfs allow
) is pretty obvious, its the user given before the @ symbol in the host address of the ssh command but which user am supposed to delegate the zfs permissions to on the source machine?Isn't the standard way to run znapzend via the systemd service? Maybe I need to edit the znapzend systemd service to specify the user I want to run znapzend as?
Giving example commands here would also be very helpful for those new to ZFS as well as those who don't use ZFS very often.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions