From 5a42ac654ffef8ae07688792b8932444fd11aca4 Mon Sep 17 00:00:00 2001 From: Guinness Date: Fri, 13 Nov 2020 10:31:05 +0100 Subject: [PATCH 1/2] Update the documentation on hacked backup client. Fixes #5480. --- docs/deployment/pull-backup.rst | 1 + docs/faq.rst | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/deployment/pull-backup.rst b/docs/deployment/pull-backup.rst index 39f5a701da..d923cf2f37 100644 --- a/docs/deployment/pull-backup.rst +++ b/docs/deployment/pull-backup.rst @@ -1,5 +1,6 @@ .. include:: ../global.rst.inc .. highlight:: none +.. _pull_backup: Backing up in pull mode ======================= diff --git a/docs/faq.rst b/docs/faq.rst index bb16b61bfd..c43cbf6ddf 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -627,7 +627,7 @@ C to delete all backups residing on S. These are your options to protect against that: - Do not allow to permanently delete data from the repo, see :ref:`append_only_mode`. -- Use a pull-mode setup using ``ssh -R``, see :issue:`900`. +- Use a pull-mode setup using ``ssh -R``, see :ref:`pull_backup` for more informations. - Mount C's filesystem on another machine and then create a backup of it. - Do not give C filesystem-level access to S. From e5a91e25382effa81b5307846b02e2f2e7259c46 Mon Sep 17 00:00:00 2001 From: Guinness Date: Tue, 17 Nov 2020 10:50:45 +0100 Subject: [PATCH 2/2] Add a hint on sleeping computer in the FAQ Now the FAQ warns that a sleeping computer can lead to a broken pipe when backing up over ssh. Fixes #5301 --- docs/faq.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/faq.rst b/docs/faq.rst index c43cbf6ddf..80955189e2 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -210,6 +210,12 @@ This is not a problem anymore. For more details, see :ref:`checkpoints_parts`. +My machine goes to sleep causing `Broken pipe` +---------------------------------------------- + +When backing up your data over the network, your machine should not go to sleep. +On macOS you can use `caffeinate` to avoid that. + How can I switch append-only mode on and off? -----------------------------------------------------------------------------------------------------------------------------------