From 73214d4d2bb789d454e60b560a74cfa6b6846786 Mon Sep 17 00:00:00 2001 From: Edwin Eefting Date: Wed, 23 Oct 2019 23:44:00 +0200 Subject: [PATCH] wip --- zfs_autobackup | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/zfs_autobackup b/zfs_autobackup index d7a3a7a..b4b6395 100755 --- a/zfs_autobackup +++ b/zfs_autobackup @@ -765,7 +765,11 @@ class ZfsDataset(): def recv_pipe(self, pipe, resume=True): - """starts a zfs recv for this snapshot and uses pipe as input""" + """starts a zfs recv for this snapshot and uses pipe as input + + note: you can also call both a snapshot and filesystem object. + the resulting zfs command is the same, only our object cache is invalidated differently. + """ #### build target command cmd=[] @@ -858,7 +862,6 @@ class ZfsDataset(): #resume something first? self.resume_transfer(target_dataset, show_progress) - #determine start snapshot (the first snapshot after the common snapshot) self.verbose("Determining start snapshot") common_snapshot=self.find_common_snapshot(target_dataset)