Update 030_preparing_a_new_repo.rst

Helps users having this issue: https://github.com/restic/restic/issues/2216
This commit is contained in:
cstegm 2019-03-29 18:24:17 +01:00 committed by GitHub
parent 870e7583a1
commit fe886a6439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -122,7 +122,17 @@ Last, if you'd like to use an entirely different program to create the
SFTP connection, you can specify the command to be run with the option
``-o sftp.command="foobar"``.
.. note:: Please be aware that sftp servers close connections when no data is
received by the client. This can happen when restic is processing huge
amounts of unchanged data. To avoid this issue add the following lines
to the clients .ssh/config file:
::
ServerAliveInterval 60
ServerAliveCountMax 240
REST Server
***********