diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-08-11 16:08:28 +0300 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-08-11 16:08:28 +0300 |
commit | 7811efcc2983adeedf6e37491d2dc6d22e45b6ec (patch) | |
tree | 999e2cd5a2d3e28643fb39887c03e33ab45a3efb | |
parent | f70c16cb5e236416d276aea54c4f65d6a7a74484 (diff) |
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.
-rwxr-xr-x | bin/byteback-backup | 2 |
1 files changed, 2 insertions, 0 deletions
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', |