mirror of
https://github.com/psy0rz/zfs_autobackup.git
synced 2025-04-11 22:40:01 +03:00
bugfixes
This commit is contained in:
parent
15a7528fbc
commit
b3c41cb943
@ -1100,9 +1100,15 @@ class ZfsDataset():
|
||||
prev_source_snapshot=source_snapshot
|
||||
else:
|
||||
source_snapshot.debug("skipped (target doesnt need it)")
|
||||
#was it actually a resume?
|
||||
if resume_token:
|
||||
target_dataset.debug("aborting resume, since we dont want that snapshot anymore")
|
||||
target_dataset.abort_resume()
|
||||
resume_token=None
|
||||
|
||||
#destroy it if we also dont want it anymore:
|
||||
if source_snapshot not in source_keeps:
|
||||
prev_source_snapshot.destroy()
|
||||
source_snapshot.destroy()
|
||||
|
||||
|
||||
source_snapshot=self.find_our_next_snapshot(source_snapshot)
|
||||
|
Loading…
x
Reference in New Issue
Block a user