diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-06-24 14:50:17 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-06-24 14:50:17 +0300 |
commit | 751f71943a02265135e0c8fce1426afabc170cef (patch) | |
tree | 0dcc0bc047c936ca9d820d8eba7d4c3dedeae7ae /liw.cronish | |
parent | 7bef6b71fac1e464a6fda5b0a034e9d49257902b (diff) | |
download | liw-dot-files-751f71943a02265135e0c8fce1426afabc170cef.tar.gz |
Drop jenkinstool backup, add work backup
Diffstat (limited to 'liw.cronish')
-rw-r--r-- | liw.cronish | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/liw.cronish b/liw.cronish index 9167170..556cf8e 100644 --- a/liw.cronish +++ b/liw.cronish @@ -55,11 +55,11 @@ journal.annex: git annex add . git annex sync --content -jenkinstool-jenkins-backup: - interval: 3600 - timeout: 600 +work-backups: + trigger-file: /media/liw/hammer-backup/obnam-repo + trigger-age: 900 command: | - if ping -c1 jenkins > /dev/null - then - obnam-backup jenkinstool-jenkins - fi + if [ -e /media/liw/hammer-backup/obnam-repo ] + then + obnam-backup tilaajavastuu + fi |