mirror of
https://github.com/psy0rz/zfs_autobackup.git
synced 2025-04-11 22:40:01 +03:00
fix
This commit is contained in:
parent
973479f853
commit
acb517ce3b
@ -233,6 +233,7 @@ def zfs_transfer(ssh_source, source_filesystem, first_snapshot, second_snapshot,
|
||||
|
||||
source_cmd.extend(["zfs", "send", "-p" ])
|
||||
|
||||
#only verbose in debug mode, lots of output
|
||||
if args.debug:
|
||||
source_cmd.append("-v")
|
||||
|
||||
@ -259,7 +260,8 @@ def zfs_transfer(ssh_source, source_filesystem, first_snapshot, second_snapshot,
|
||||
|
||||
target_cmd.extend(["zfs", "recv", "-u" ])
|
||||
|
||||
if args.verbose:
|
||||
#also verbose in --verbose mode so we can see the transfer speed when its completed
|
||||
if args.verbose or args.debug:
|
||||
target_cmd.append("-v")
|
||||
|
||||
target_cmd.append(target_filesystem)
|
||||
|
Loading…
x
Reference in New Issue
Block a user