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

check/handle invalid datasets being specified #3

Closed snehring closed 6 years ago

snehring commented 6 years ago

With the way things are presently designed, we catch exceptions in main from backup_dataset. This could lead to one destination being ahead of an invalid one. It should fail in a way that leads to subsequent attempts to backup to fail since we percolate the exception up, which leads to the delete not happening. So manual intervention will be required in the event of a misconfiguration. I think this is okay.