Commit graph

30 commits

Author SHA1 Message Date
Jan-Piet Mens
0b3c02345f Flag --hostname has been deprecated, use --host 2018-10-14 10:26:53 +02:00
Alexander Rust
55c40c9bc7
Merge pull request #18 from fbartels/master
define an empty default if RESTIC_ARGS is not set
2018-09-16 16:31:40 +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
3cd7f89231 added RESTIC_ARGS to example config 2018-07-26 22:34:33 +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
Alexander Rust
6f463f450b
Merge pull request #13 from DrDth/master
fix monitoring function for newer version of restic
2018-01-23 08:24:20 +01:00
Felix Bartels
448b04a3da add example pre and post scripts
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2018-01-21 11:35:15 +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
998687fdbe Create LICENSE 2017-10-05 10:48:14 +02: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
Alexander Rust
38ef0633f8 Merge pull request #8 from jpmens/curlfix
Existenace of curl is required for notification
2017-09-07 10:18:50 +02:00
Alexander Rust
8dc1a15ab8 Merge pull request #7 from jpmens/patch-1
/tmp was duplicated
2017-09-07 10:18:38 +02:00
Jan-Piet Mens
522f1fb295 Existenace of curl is required for notification 2017-09-07 08:49:24 +02:00
JP Mens
c55c046744 /tmp was duplicated 2017-09-07 08:41:51 +02:00
Alexander Rust
47c3b789c7 Merge pull request #6 from jpmens/newdate2
Date parsing / usage diagnostic
2017-09-06 07:50:48 +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
Alexander Rust
6dec919e09 Merge pull request #3 from jpmens/monitor
add nolock to snapshots and protect curl existance
2017-09-05 12:42:16 +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
Alexander Rust
f5410c38e2 Merge pull request #1 from jpmens/jp1
optional healthcheck URL
2017-09-04 19:59:27 +02:00
Jan-Piet Mens
2e4fed9d60 blurb 2017-09-04 16:49:48 +02:00
Jan-Piet Mens
280d721e5e optional healthcheck URL 2017-09-04 16:38:38 +02:00
Alexander Rust
38284240a0 Update README.md 2017-09-04 10:45:06 +02:00
Alexander Rust
0d98f8a99a Update README.md 2017-09-04 10:41:52 +02:00
Alexander Rust
1fc750a140 Update README.md 2017-09-04 10:41:18 +02:00
Alexander Rust
68becb13cf initial commit 2017-09-04 10:36:00 +02:00
Alexander Rust
c599201953 Initial commit 2017-09-04 10:31:38 +02:00