Added a troubleshooting section with steps to deal with broken pipes.

This commit is contained in:
Dan Helfman 2015-02-28 11:03:22 -08:00
parent f23810f19a
commit 02df59e964
2 changed files with 25 additions and 0 deletions

4
NEWS
View file

@ -1,3 +1,7 @@
0.0.4-dev
* Added a troubleshooting section with steps to deal with broken pipes.
0.0.3
* After pruning, run attic's consistency checks on all archives.

View file

@ -94,6 +94,27 @@ To actually run tests, run:
nosetests --detailed-errors
## Troubleshooting
### Broken pipe with remote repository
When running atticmatic on a large remote repository, you may receive errors
like the following, particularly while "attic check" is valiating backups for
consistency:
Write failed: Broken pipe
attic: Error: Connection closed by remote host
This error can be caused by an ssh timeout, which you can rectify by adding
the following to the ~/.ssh/config file on the client:
Host *
ServerAliveInterval 120
This should make the client keep the connection alive while validating
backups.
## Feedback
Questions? Comments? Got a patch? Contact <mailto:witten@torsion.org>.