From db2625b08c3f52862e7c2b8f374566f8ba66c0cb Mon Sep 17 00:00:00 2001 From: Edwin Eefting Date: Tue, 4 Jan 2022 22:26:44 +0100 Subject: [PATCH] fix #101 --- zfs_autobackup/ZfsAutobackup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zfs_autobackup/ZfsAutobackup.py b/zfs_autobackup/ZfsAutobackup.py index 156edc8..aebea91 100644 --- a/zfs_autobackup/ZfsAutobackup.py +++ b/zfs_autobackup/ZfsAutobackup.py @@ -506,17 +506,17 @@ class ZfsAutobackup: # Note: Before version v3.1-beta5, we always used exclude_received. This was a problem if you wanted to # replicate an existing backup to another host and use the same backupname/snapshots. However, exclude_received - # may still need to be used to explicitly exclude a backup with the 'received' source to avoid accidental + # may still need to be used to explicitly exclude a backup with the 'received' source property to avoid accidental # recursive replication of a zvol that is currently being received in another session (as it will have changes). exclude_paths = [] exclude_received = self.args.exclude_received if self.args.ssh_source == self.args.ssh_target: if self.args.target_path: # target and source are the same, make sure to exclude target_path - self.warning("Source and target are on the same host, excluding target-path from selection.") + self.verbose("NOTE: Source and target are on the same host, excluding target-path from selection.") exclude_paths.append(self.args.target_path) else: - self.warning("Source and target are on the same host, excluding received datasets from selection.") + self.verbose("NOTE: Source and target are on the same host, excluding received datasets from selection.") exclude_received = True source_datasets = source_node.selected_datasets(property_name=property_name,exclude_received=exclude_received,