浏览代码

Mention changing borgmatic path in cron documentation (#455).

Dan Helfman 3 年之前
父节点
当前提交
c8fcf6b336
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. 1 0
      NEWS
  2. 4 1
      docs/how-to/set-up-backups.md

+ 1 - 0
NEWS

@@ -1,6 +1,7 @@
 1.5.19.dev0
 1.5.19.dev0
  * #387: Fix error when configured source directories are not present on the filesystem at the time
  * #387: Fix error when configured source directories are not present on the filesystem at the time
    of backup. Now, Borg will complain, but the backup will still continue.
    of backup. Now, Borg will complain, but the backup will still continue.
+ * #455: Mention changing borgmatic path in cron documentation.
  * Update sample systemd service file with more granular read-only filesystem settings.
  * Update sample systemd service file with more granular read-only filesystem settings.
  * Move Gitea and GitHub hosting from a personal namespace to an organization for better
  * Move Gitea and GitHub hosting from a personal namespace to an organization for better
    collaboration with related projects.
    collaboration with related projects.

+ 4 - 1
docs/how-to/set-up-backups.md

@@ -258,7 +258,10 @@ sudo mv borgmatic /etc/cron.d/borgmatic
 sudo chmod +x /etc/cron.d/borgmatic
 sudo chmod +x /etc/cron.d/borgmatic
 ```
 ```
 
 
-You can modify the cron file if you'd like to run borgmatic more or less frequently.
+If borgmatic is installed at a different location than
+`/root/.local/bin/borgmatic`, edit the cron file with the correct path. You
+can also modify the cron file if you'd like to run borgmatic more or less
+frequently.
 
 
 ### systemd
 ### systemd