浏览代码

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

Dan Helfman 5 年之前
父节点
当前提交
35f6aba365
共有 1 个文件被更改,包括 2 次插入2 次删除
  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:
 
 ```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