Commit Graph

10 Commits

Author SHA1 Message Date
Jake Howard e421657619 Ensure restic gets the correct permissions when it's updated
Yes it's weird to modify the system package like this, but it's very handy.

See also https://restic.readthedocs.io/en/stable/080_examples.html#backing-up-your-system-without-running-restic-as-root
2021-08-10 08:45:59 +01:00
Jake Howard b6adc53746 Revert "Capture stderr in logs, too"
This reverts commit 8696f6d93f.

Yeah, this doesn't work. Syntax and intention.
2021-06-28 08:33:08 +01:00
Jake Howard 41a8fe3b4d Use logrotate for backrest logging rather than nuking immediately
Just in case something goes wrong with healthchecks
2021-06-27 10:58:01 +01:00
Jake Howard 8696f6d93f Capture stderr in logs, too 2021-06-27 10:53:13 +01:00
Jake Howard 5ac5e2f8ab Stagger backup times 2021-05-23 20:37:41 +01:00
Jake Howard a124bff473 Add scheduling for backup and forgetting
Only forget on 1 machine
2021-05-16 15:34:37 +01:00
Jake Howard 91725d5876 Add forget and prune commands 2021-05-16 14:39:44 +01:00
Jake Howard 7fc67ca8d4 Put files in the root of the role 2021-05-08 16:47:25 +01:00
Jake Howard 48c88347a9 Add some healthchecks integration to backup 2021-05-08 16:45:08 +01:00
Jake Howard 781aa93892 Add some restic wrapper things 2021-05-08 16:45:08 +01:00