From cc09d7fc1018a53c3019c3f9e43def05506e5d34 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sat, 18 Jul 2015 18:44:11 -0700 Subject: [PATCH] Adding borgmatic cron example. --- NEWS | 4 ++++ README.md | 2 +- sample/borgmatic.cron | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 sample/borgmatic.cron diff --git a/NEWS b/NEWS index f8dd0bf..159c71c 100644 --- a/NEWS +++ b/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. diff --git a/README.md b/README.md index fe26676..69f18c0 100644 --- a/README.md +++ b/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/ diff --git a/sample/borgmatic.cron b/sample/borgmatic.cron new file mode 100644 index 0000000..2f6f912 --- /dev/null +++ b/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