Closed stephenhouser closed 1 year ago
you are right, but then you make sure your user has write access to /dev/zfs as well.
i'll update the documentation to reflect this, thanks
I added a note https://github.com/psy0rz/zfs_autobackup/wiki#setup-ssh-login and i changed that text to 'ssh access' instead of 'root access'
In setting up, the account will need destroy,hold,mount,release,send,snapshot
as in:
zfs allow USER destroy,hold,mount,release,send,snapshot tank/dataset`
On Ubuntu 22.04 LTS it looks like /dev/zfs
is world-writable by default. I don't recall changing that. Other distros may vary.
The getting started guide states: "With a pull backup, the target machine will have root access to the source machine."
The
zfs allow
will allow you to grantsend, snapshot, hold
and other required permissions on a dataset. Thus not requiring "root access to the source machine." You can grant those to any account on the source machine.