From 68459c67956c47d63c3675ce5f6c7389b6fe5579 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 7 Nov 2019 11:05:41 -0800 Subject: [PATCH] Add note about setting PATH environment variable when installing borgmatic. --- docs/how-to/set-up-backups.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/how-to/set-up-backups.md b/docs/how-to/set-up-backups.md index bea044786..8bed4bf00 100644 --- a/docs/how-to/set-up-backups.md +++ b/docs/how-to/set-up-backups.md @@ -19,8 +19,14 @@ sudo pip3 install --user --upgrade borgmatic This is a [recommended user site installation](https://packaging.python.org/tutorials/installing-packages/#installing-to-the-user-site). -You will need to ensure that `/root/.local/bin` is available on your `$PATH` so -that the borgmatic executable is available. +You will need to ensure that `/root/.local/bin` is available on your `$PATH` +so +that the borgmatic executable is available. For instance, adding this to +root's `~/.profile` or `~/.bash_profile` may do the trick: + +```bash +export PATH="$PATH:~/.local/bin" +``` Note that your pip binary may have a different name than "pip3". Make sure you're using Python 3, as borgmatic does not support Python 2.