Commit graph

68 commits

Author SHA1 Message Date
89fc555eb1 Add newline 2023-12-02 22:03:25 +01:00
09cf947078 Install jq on all backup hosts
needed for prom exporter
2023-12-02 22:03:01 +01:00
6ee490698d Increase timeout - the expect module has a default timeout
of 30s
2023-12-02 22:02:32 +01:00
dd9b8b717c Add newline to the end of the file 2023-12-02 17:24:29 +01:00
5009ed456e Remove echo statement 2023-12-02 16:15:58 +01:00
82bc88629d Add functions, help text and metric type 2023-12-02 16:03:29 +01:00
f1972140ff Use jq to filter output 2023-12-02 11:45:43 +01:00
8404625755 Use complete timestamp for last backup, output in epoch 2023-12-02 10:52:29 +01:00
47fb292ff0 Cleanup, include date of last backup 2023-12-02 10:14:05 +01:00
fe215782ed Remove color codes from borgmatic output 2023-12-02 10:04:19 +01:00
c7896338ed Allow to wait longer for unresponsive hosts 2023-12-02 09:40:16 +01:00
be1cf37ca3 Send backup status via exporter to Prometheus 2023-12-02 09:18:19 +01:00
2a6b2273a2 Fix typo 2023-10-17 03:52:16 +02:00
0fccf6673a Add gitignore 2023-10-01 11:56:31 +02:00
3c93c4f86c Install rsync to save a local copy of keys 2023-10-01 11:55:39 +02:00
5f5fab84bb Fixes 2023-05-08 15:29:47 +02:00
7a742fd76a Add key comment 2023-05-08 15:29:17 +02:00
468a4aadbb Fix Ansible Module 2023-05-08 15:28:47 +02:00
0b53f0291b Fix: Run tasks at localhost not on storagebox 2023-05-08 14:39:32 +02:00
701b4f82f0 Create borg repo directory on storagebox 2023-05-08 14:36:32 +02:00
9b5526b47e Fix ssh config path 2023-05-08 11:54:10 +02:00
f4152f9a5e Create SSH config for borg providers 2023-05-08 11:21:21 +02:00
fbdce3166f Add tasks for Hetzner Storagebox 2023-05-08 10:36:42 +02:00
b8433bb4e0 Enable command line options for repo creation 2023-05-08 10:23:39 +02:00
9952fcf3c6 Remove cron configuration
The Debian package ships a systemd timer
2023-04-18 21:58:03 +02:00
7e0278debb Create borgmatic configuration directory is not exists 2023-04-09 12:21:35 +02:00
1aeb58245e Add hint about vault 2023-04-09 12:11:35 +02:00
093222dd21 Fix deb repository path
Update cache before installing package
2023-04-09 11:56:45 +02:00
abda9b788c Install backports packages 2023-04-09 11:48:20 +02:00
43dbe7c8cb Remove misplaced loop 2023-04-09 11:26:45 +02:00
f46724461b Ignore errors in export tasks
Doesn't work with when conditional (is defined) because the conditional
is evaluated after the loop
2023-04-09 11:25:06 +02:00
a984bbbce9 Fix spacing 2023-04-09 11:24:49 +02:00
96346896fa Add tasks to export borgbase borg repo keys 2023-04-09 10:44:51 +02:00
dab13a2388 Read borgbase repository dynamically
No need to configure it in host_vars
2023-04-09 10:41:54 +02:00
303b738f99 Add hostname info to exported key 2023-04-09 10:23:41 +02:00
848ee79a69 Add key export path 2023-04-09 10:22:21 +02:00
fe167ddec3 Fix ssh config path 2023-04-09 10:18:42 +02:00
d1320c3c98 Fix key export path 2023-04-09 10:18:11 +02:00
3746f9fb45 Fix path to keyfile 2023-04-09 10:15:45 +02:00
c6c4304d9e Remove repository label from borgmatic configuration
Only supported with borgmatic >= 1.7.10
We can still use it for borg key export.
2023-04-09 10:10:08 +02:00
202d6c3ef9 Enable configuration of borg user 2023-04-09 10:05:37 +02:00
dfbcbf3229 Remove unused borg_user variable 2023-04-09 09:57:34 +02:00
bd333305df Add credits 2023-04-09 09:56:01 +02:00
5f699bf264 Add note about requirements 2023-04-09 09:54:09 +02:00
f5cb19eddd Add README 2023-04-09 09:51:26 +02:00
73d0a45c1b Delete unused variables 2023-04-09 09:51:13 +02:00
dee49f5405 Enable only error output for cron job 2023-04-09 09:27:58 +02:00
f4d6366253 Add bash completion and labels to repositories 2023-04-09 09:25:16 +02:00
72555d15c4 Fix copy of exported keys 2023-04-08 23:44:07 +02:00
4e6628e86c Fetch exported keys 2023-04-08 23:20:21 +02:00