transfer output is now in the form of source -> target

This commit is contained in:
Edwin Eefting 2023-09-26 19:17:00 +02:00
parent c0a8cb33ad
commit f3caca48f2
No known key found for this signature in database
GPG Key ID: 0F3C35D8E9887737

View File

@ -728,14 +728,14 @@ class ZfsDataset:
self.debug("Transfer snapshot to {}".format(target_snapshot.filesystem_name)) self.debug("Transfer snapshot to {}".format(target_snapshot.filesystem_name))
if resume_token: if resume_token:
target_snapshot.verbose("resuming") self.verbose("resuming")
# initial or increment # initial or increment
if not prev_snapshot: if not prev_snapshot:
target_snapshot.verbose("<- {} (new)".format(self.filesystem_name)) self.verbose("-> {} (new)".format(target_snapshot.filesystem_name))
else: else:
# incremental # incremental
target_snapshot.verbose("<- {}".format(self.filesystem_name)) self.verbose("-> {}".format(target_snapshot.filesystem_name))
# do it # do it
pipe = self.send_pipe(features=features, show_progress=show_progress, prev_snapshot=prev_snapshot, pipe = self.send_pipe(features=features, show_progress=show_progress, prev_snapshot=prev_snapshot,