Conversation
|
Thanks for the PR. Although |
|
I had the choice to make, either do the send within python (where I identified the correct snapshots to move), or print the shell commands and then execute them. Printing shell commands then lost the setup I'd done for ssh sessions, so after doing it manually once, I decided to embed it in python to keep all that context right there. I did note that none of the fields in |
|
Of course this mechanism could also exist as something duck-punched in (I found the term in one of the comments in the code, and loved it). |
This worked for me.
On the receiving side I had to:
On the sending side I had to
then this worked from an un-elevated user:
where the two snapshots were from a zfslib.Connection() to one server and the dataset was a zfslib.Connection to another.
When there were errors, I saw them and the program I was running exited. Had I chosen to trap more exceptions in my own code, I would have been able to decide not to exit.