Commit graph

14 commits

Author SHA1 Message Date
Jan-Piet Mens
0b3c02345f Flag --hostname has been deprecated, use --host 2018-10-14 10:26:53 +02:00
Felix Bartels
06296f39e1 define an empty default if RESTIC_ARGS is not set
since backup is running with `set -uo pipefail` unset variables are not allowed.

Signed-off-by: Felix Bartels <felix@host-consultants.de>
2018-09-14 16:48:39 +02:00
Alexander Rust
bfd4eb9007 added performance data to monitor output, added variable to specify general restic flags 2018-07-26 22:22:14 +02:00
Alexander Rust
c9b850d7dd
Merge pull request #14 from fbartels/master
smaller cosmetics and tagging of main/local backup job
2018-01-23 16:55:23 +01:00
Felix Bartels
696f416aa2 introduce new config option BACKUP_ARGS to add additional parameters to backup job (like tagging the backup)
new option is set to empty if not specified otherwise.

as suggested in https://github.com/binarybucks/restic-tools/pull/14#issuecomment-359700589

Signed-off-by: Felix Bartels <felix@host-consultants.de>
2018-01-23 11:41:49 +01:00
Felix Bartels
450165ed99 remove obsolete comment and trim unnecessary whitespace and lines
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2018-01-21 11:31:52 +01:00
Maximilian Weber
88cea11b44 change monitoring for newer version of restic 2018-01-16 15:45:52 +01:00
Alexander Rust
d271c0be93 using new --compact option for snapshot monitoring, returning error when restic command fails 2017-09-18 10:41:05 +02:00
Alexander Rust
3dd69be90c added local.pre and local.post hooks, fixed error when HEALTHCHECK_URL was unset 2017-09-08 13:49:08 +02:00
Jan-Piet Mens
522f1fb295 Existenace of curl is required for notification 2017-09-07 08:49:24 +02:00
Jan-Piet Mens
23b67272b5 fix date parsing for macOS (Darwin)
fix usage diagnostic and output to stderr
2017-09-05 20:44:20 +02:00
Jan-Piet Mens
70883ec6ee add nolock to snapshots and protect curl existance
- also remove trailing white space
2017-09-05 12:39:33 +02:00
Jan-Piet Mens
280d721e5e optional healthcheck URL 2017-09-04 16:38:38 +02:00
Alexander Rust
68becb13cf initial commit 2017-09-04 10:36:00 +02:00