From 35f6aba365866e20f2d6e3f803ff96f500446e52 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Fri, 17 Apr 2020 09:46:50 -0700 Subject: [PATCH] Clarify that borgmatic should be run with sudo after a root --user install. --- docs/how-to/set-up-backups.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/how-to/set-up-backups.md b/docs/how-to/set-up-backups.md index 88d3a40..98cad8c 100644 --- a/docs/how-to/set-up-backups.md +++ b/docs/how-to/set-up-backups.md @@ -133,7 +133,7 @@ this step if you already have a Borg repository.) To create a repository, run a command like the following: ```bash -borgmatic init --encryption repokey +sudo borgmatic init --encryption repokey ``` (No borgmatic `init` action? Try the old-style `--init` flag, or upgrade @@ -165,7 +165,7 @@ good idea to test that borgmatic is working. So to run borgmatic and start a backup, you can invoke it like this: ```bash -borgmatic --verbosity 1 +sudo borgmatic --verbosity 1 ``` By default, this will also prune any old backups as per the configured