Browse Source

Adding borgmatic cron example.

Dan Helfman 10 years ago
parent
commit
cc09d7fc10
3 changed files with 8 additions and 1 deletions
  1. 4 0
      NEWS
  2. 1 1
      README.md
  3. 3 0
      sample/borgmatic.cron

+ 4 - 0
NEWS

@@ -1,3 +1,7 @@
+0.1.1
+
+ * Adding borgmatic cron example, and updating documentation to refer to it.
+
 0.1.0
 
  * New "borgmatic" command to support Borg backup software, a fork of Attic.

+ 1 - 1
README.md

@@ -66,7 +66,7 @@ If you are using Attic, copy the following configuration files:
 
 If you are using Borg, copy the files like this instead:
 
-    sudo cp sample/atticmatic.cron /etc/cron.d/borgmatic
+    sudo cp sample/borgmatic.cron /etc/cron.d/borgmatic
     sudo mkdir /etc/borgmatic/
     sudo cp sample/config sample/excludes /etc/borgmatic/
 

+ 3 - 0
sample/borgmatic.cron

@@ -0,0 +1,3 @@
+# You can drop this file into /etc/cron.d/ to run borgmatic nightly.
+
+0 3 * * * root PATH=$PATH:/usr/local/bin /usr/local/bin/borgmatic