Commit Graph
16 Commits
Author SHA1 Message Date
Esa Nuuros 265c33f2d9 Do not exit on backup failure
Exit caused email notifications to be not sent when backup fails. We especially
want to be notified if a backup fails.
2020-10-26 15:12:19 +02:00
Tobias Kaupat 925930000c use exit instead of kill to end script 2020-08-06 08:44:18 +02:00
Lucas Breton 46df366e4c Add pre and post backup hooks 2020-08-06 08:39:07 +02:00
mrclschstr 29e46cad2c Implemented a simple mail notification after backups using mailx. This can be used to send mail via an external SMTP server. Syntax uniformity is questionable. 2019-07-25 14:49:34 +02:00
Tobias Kaupat d3c851da27 Update backup.sh
log restic repository and AWS ID
2019-02-06 15:55:19 +01:00
David Arnold 918b7f656a [IMP] kill service if sync fails
This, used in combination with a scheduler, clearly marks "problem" to the
cluster operator
2018-02-11 16:50:04 -05:00
David Arnold bf045a4be3 [CLEAN] bakcup is already git update-index --chmod=+xed 2018-02-11 16:50:04 -05:00
Stas d0cea127a5 add RESTIC_JOB_ARGS env variable to specify extra restic options 2018-02-03 21:51:17 +01:00
Tobias Kaupat e5f81c232e Update backup.sh 2018-01-29 22:31:36 +01:00
lobaro-demo 8ba9fb4a8f Do not run spearate prune, but let the user use --prune in RESTIC_FORGET_ARGS 2017-04-03 13:22:18 +00:00
lobaro-demo ca25a281d3 Execute prune after forget, Improove logging
- Log start and end with total duration
- Copy backup-last.log to backup-error-last.log after fail
2017-02-14 09:44:42 +00:00
lobaro-demo 531855c7ec Remove redundant echo to cron log 2017-01-17 16:12:07 +00:00
lobaro-demo 882b98003a Correct return code for forget command 2016-11-29 10:01:50 +00:00
Tobias Kaupat ba598d539f Cleanup logs 2016-11-28 19:46:51 +01:00
Tobias Kaupat d3732519b9 Support RESTIC_FORGET_ARGS 2016-11-08 00:32:29 +01:00
Tobias Kaupat f181ceeca8 Initial restic docker setup 2016-11-07 23:21:19 +01:00