Now that I think about it, removing the snapshot isn't that big of a deal. You still have all the files intact and the DB is still running; you just had a failed backup, that's all.
I would simply add in the ability to call a hook on success and failure of a backup. That way at least "someone" knows about it.
It certainly be able to notify the admin to take action. (see the blueprint I added https:/ /blueprints. launchpad. net/mylvmbackup /+spec/ mylvmbackup- notification- hooks)
Now that I think about it, removing the snapshot isn't that big of a deal. You still have all the files intact and the DB is still running; you just had a failed backup, that's all.
I would simply add in the ability to call a hook on success and failure of a backup. That way at least "someone" knows about it.