mirror of
https://github.com/psy0rz/zfs_autobackup.git
synced 2025-06-05 01:33:00 +03:00
less verbose output when not finding common snapshot
This commit is contained in:
parent
feb3972cd7
commit
c0a8cb33ad
@ -840,8 +840,8 @@ class ZfsDataset:
|
|||||||
else:
|
else:
|
||||||
target_snapshot.debug("common snapshot")
|
target_snapshot.debug("common snapshot")
|
||||||
return source_snapshot
|
return source_snapshot
|
||||||
target_dataset.error("Cant find common snapshot with source.")
|
# target_dataset.error("Cant find common snapshot with source.")
|
||||||
raise (Exception("You probably need to delete the target dataset to fix this."))
|
raise (Exception("Cant find common snapshot with target."))
|
||||||
|
|
||||||
def find_start_snapshot(self, common_snapshot, also_other_snapshots):
|
def find_start_snapshot(self, common_snapshot, also_other_snapshots):
|
||||||
"""finds first snapshot to send :rtype: ZfsDataset or None if we cant
|
"""finds first snapshot to send :rtype: ZfsDataset or None if we cant
|
||||||
|
Loading…
x
Reference in New Issue
Block a user