X-Git-Url: https://git.siccegge.de//index.cgi?p=tools.git;a=blobdiff_plain;f=backup-zfs;fp=backup-zfs;h=4ebb78bc9bd292b4d23e89c763f8c9fbd33ad9d8;hp=9eef4c24c6de3f68eabc424b60e1fbe60e961f1c;hb=1247ccbd3ce61a6075a3a5c142028ac478c019f7;hpb=03d60516ab3fea2690ccee9a8cdc073412ee9432 diff --git a/backup-zfs b/backup-zfs index 9eef4c2..4ebb78b 100755 --- a/backup-zfs +++ b/backup-zfs @@ -110,6 +110,7 @@ def sftp_send(dataset, reference=None): lastflush = 0 with open('/tmp/SHA256SUM', 'a') as digestfile: with sftp.open(filename, 'xw', BUFFER) as remotefile: + remotefile.set_pipelined() digest = hashlib.sha256() sys.stdout.write(term['purple']) done = 0