Przeglądaj źródła

Clarify that borgmatic should be run with sudo after a root --user install.

Dan Helfman 5 lat temu
rodzic
commit
35f6aba365
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      docs/how-to/set-up-backups.md

+ 2 - 2
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:
 a command like the following:
 
 
 ```bash
 ```bash
-borgmatic init --encryption repokey
+sudo borgmatic init --encryption repokey
 ```
 ```
 
 
 (No borgmatic `init` action? Try the old-style `--init` flag, or upgrade
 (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:
 backup, you can invoke it like this:
 
 
 ```bash
 ```bash
-borgmatic --verbosity 1
+sudo borgmatic --verbosity 1
 ```
 ```
 
 
 By default, this will also prune any old backups as per the configured
 By default, this will also prune any old backups as per the configured