wip
This commit is contained in:
@ -765,7 +765,11 @@ class ZfsDataset():
|
|||||||
|
|
||||||
|
|
||||||
def recv_pipe(self, pipe, resume=True):
|
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
|
#### build target command
|
||||||
cmd=[]
|
cmd=[]
|
||||||
|
|
||||||
@ -858,7 +862,6 @@ class ZfsDataset():
|
|||||||
#resume something first?
|
#resume something first?
|
||||||
self.resume_transfer(target_dataset, show_progress)
|
self.resume_transfer(target_dataset, show_progress)
|
||||||
|
|
||||||
|
|
||||||
#determine start snapshot (the first snapshot after the common snapshot)
|
#determine start snapshot (the first snapshot after the common snapshot)
|
||||||
self.verbose("Determining start snapshot")
|
self.verbose("Determining start snapshot")
|
||||||
common_snapshot=self.find_common_snapshot(target_dataset)
|
common_snapshot=self.find_common_snapshot(target_dataset)
|
||||||
|
|||||||
Reference in New Issue
Block a user