jimsalterjrs / sanoid

These are policy-driven snapshot management and replication tools which use OpenZFS for underlying next-gen storage. (Btrfs support plans are shelved unless and until btrfs becomes reliable.)
http://www.openoid.net/products/
GNU General Public License v3.0
3.14k stars 308 forks source link

added missing status information about what is done and provide more details #910

Closed phreaker0 closed 7 months ago

phreaker0 commented 7 months ago

Since #699 some information about what is replicated was lost, this PR adds it back. While at it more details are provided compared to before like src/target host.

Fixes #785

phreaker0 commented 7 months ago

Some examples:

$ ./syncoid ssd/tmp root@localhost:ssd/tmp2
INFO: Sending oldest full snapshot ssd/tmp@pre-22.04-upgrade to new target filesystem root@localhost:ssd/tmp2 (~ 113.5 GB):
$ ./syncoid ssd/tmp root@localhost:ssd/tmp2
INFO: Resuming interrupted zfs send/receive from ssd/tmp to root@localhost:ssd/tmp2 (~ 111.6 GB remaining):
jimsalterjrs commented 7 months ago

Can you rebase, please? I'm guessing I merged your PRs "out of order" this morning. :)

phreaker0 commented 7 months ago

rebased