Adding borgmatic cron example.

This commit is contained in:
Dan Helfman 2015-07-18 18:44:11 -07:00
parent 96ce9309e0
commit cc09d7fc10
3 changed files with 8 additions and 1 deletions

4
NEWS
View file

@ -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.

View file

@ -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
sample/borgmatic.cron Normal file
View file

@ -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