From 7811efcc2983adeedf6e37491d2dc6d22e45b6ec Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Tue, 11 Aug 2015 16:08:28 +0300 Subject: Enable (ssh) compression. This is useful to speed up backups, because otherwise they will be I/O-bound and the CPU-overhead is a net-win. --- bin/byteback-backup | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/byteback-backup b/bin/byteback-backup index 11ed312..55511c2 100755 --- a/bin/byteback-backup +++ b/bin/byteback-backup @@ -164,6 +164,8 @@ def ssh(*ssh_args) '-o', 'BatchMode=yes', '-o', 'ConnectionAttempts=5', '-o', 'ConnectTimeout=30', + '-o', 'Compression=yes', + '-o', 'CompressionLevel=3', '-o', 'ServerAliveInterval=60', '-o', 'TCPKeepAlive=yes', '-x', '-a', -- cgit v1.2.3