snehring / zfsbackup

Quick and easy program to do one way sends of zfs datasets for backup purposes
MIT License
0 stars 1 forks source link

Better snapshot list fix #16

Closed snehring closed 4 years ago

snehring commented 4 years ago

This changes the fix for #15 a bit by returning to the recursive listing, but restricting it to a depth of 1, which should be just direct children of a dataset ie snapshots. This accounts for a behavior change between zfsonlinux 0.7.x and 0.8.x where on the 0.7.x series you had to recursively list if you wanted to get snapshots returned by list for a specific dataset. This is not required on 0.8.x hence my confusion in #15.

isu-rassilon commented 4 years ago

This did work on a test box.