Does anyone use ZFS send [source snap] | pv | ssh [target system] ZFS receive [target pool]
I’m getting a slight issue with pv starting the feedback before I can enter the target system password, sometimes causing it to fail auth before transfer starts, especially if I’m slow to type the password.
perhaps I have not set up the keyfile correctly on the target system
You can use the ZFS permissions and setup a user who is alowed to e.g. create snapshots (receive) but NOT to delete them (force sending), I use that for sequential backups to my backup server!
I think @nx2l was into it regarding keys.
I had copied the keys across, as per the freenas instructions, but think I might just need to generate a new key file and try again.
Will poke at it this evening after work.
copied the public key across, no dice.
went to freenas web gui, ensured the key under the user account matched
opened shell, compared ~.ssh/authourised_keys to the id_rsa.pub, which did match, but still didn’t work.
regenerated key and resent, still nope.
rm -r .ssh/, then generated new keys… and Success!
idk what was messed up