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

Dataset not logged when no newer snapshots available #942

Open dilbernd opened 4 months ago

dilbernd commented 4 months ago
$ syncoid --version
/usr/sbin/syncoid version 2.2.0
(Getopt::Long::GetOptions version 2.52; Perl version 5.36.0)

When there is no newer snapshot on the source, syncoid only logs the newest discovered snapshot and that there’s no newer one:

NEWEST SNAPSHOT: autosnap_2024-07-26_18:45:01_frequently
INFO: no snapshots on source newer than autosnap_2024-07-26_18:45:01_frequently on target. Nothing to do, not syncing.

From what I can see, the affected dataset is never logged however. It would be very nice to be able to see which dataset is affected.