Commit graph

  • b60309a7e6 mktemp creates restricted files, we need to change permissions main phil 2023-12-02 23:37:52 +01:00
  • 012c77f2ed Use mktemp for creating tempfile phil 2023-12-02 22:44:59 +01:00
  • 89fc555eb1 Add newline phil 2023-12-02 22:03:25 +01:00
  • 09cf947078 Install jq on all backup hosts needed for prom exporter phil 2023-12-02 22:03:01 +01:00
  • 6ee490698d Increase timeout - the expect module has a default timeout of 30s phil 2023-12-02 22:02:32 +01:00
  • dd9b8b717c Add newline to the end of the file phil 2023-12-02 17:24:29 +01:00
  • 5009ed456e Remove echo statement phil 2023-12-02 16:15:58 +01:00
  • 82bc88629d Add functions, help text and metric type phil 2023-12-02 16:03:29 +01:00
  • f1972140ff Use jq to filter output phil 2023-12-02 11:45:43 +01:00
  • 8404625755 Use complete timestamp for last backup, output in epoch phil 2023-12-02 10:50:18 +01:00
  • 47fb292ff0 Cleanup, include date of last backup phil 2023-12-02 10:14:05 +01:00
  • fe215782ed Remove color codes from borgmatic output phil 2023-12-02 10:04:19 +01:00
  • c7896338ed Allow to wait longer for unresponsive hosts phil 2023-12-02 09:22:32 +01:00
  • be1cf37ca3 Send backup status via exporter to Prometheus phil 2023-12-02 09:18:19 +01:00
  • 2a6b2273a2 Fix typo phil 2023-10-17 03:52:16 +02:00
  • 0fccf6673a Add gitignore phil 2023-10-01 11:56:31 +02:00
  • 3c93c4f86c Install rsync to save a local copy of keys phil 2023-10-01 11:55:39 +02:00
  • 5f5fab84bb Fixes phil 2023-05-08 15:29:47 +02:00
  • 7a742fd76a Add key comment phil 2023-05-08 15:29:17 +02:00
  • 468a4aadbb Fix Ansible Module phil 2023-05-08 15:28:47 +02:00
  • 0b53f0291b Fix: Run tasks at localhost not on storagebox phil 2023-05-08 14:39:32 +02:00
  • 701b4f82f0 Create borg repo directory on storagebox phil 2023-05-08 14:36:32 +02:00
  • 9b5526b47e Fix ssh config path phil 2023-05-08 11:54:10 +02:00
  • f4152f9a5e Create SSH config for borg providers phil 2023-05-08 11:21:21 +02:00
  • fbdce3166f Add tasks for Hetzner Storagebox phil 2023-05-08 10:36:42 +02:00
  • b8433bb4e0 Enable command line options for repo creation phil 2023-05-08 10:23:39 +02:00
  • 9952fcf3c6 Remove cron configuration The Debian package ships a systemd timer phil 2023-04-18 21:58:03 +02:00
  • 7e0278debb Create borgmatic configuration directory is not exists phil 2023-04-09 12:21:35 +02:00
  • 1aeb58245e Add hint about vault phil 2023-04-09 12:11:35 +02:00
  • 093222dd21 Fix deb repository path Update cache before installing package phil 2023-04-09 11:56:45 +02:00
  • abda9b788c Install backports packages phil 2023-04-09 11:48:20 +02:00
  • 43dbe7c8cb Remove misplaced loop phil 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 phil 2023-04-09 11:25:06 +02:00
  • a984bbbce9 Fix spacing phil 2023-04-09 11:24:49 +02:00
  • 96346896fa Add tasks to export borgbase borg repo keys phil 2023-04-09 10:44:51 +02:00
  • dab13a2388 Read borgbase repository dynamically No need to configure it in host_vars phil 2023-04-09 10:41:54 +02:00
  • 303b738f99 Add hostname info to exported key phil 2023-04-09 10:23:41 +02:00
  • 848ee79a69 Add key export path phil 2023-04-09 10:22:21 +02:00
  • fe167ddec3 Fix ssh config path phil 2023-04-09 10:18:42 +02:00
  • d1320c3c98 Fix key export path phil 2023-04-09 10:18:11 +02:00
  • 3746f9fb45 Fix path to keyfile phil 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. phil 2023-04-09 10:10:08 +02:00
  • 202d6c3ef9 Enable configuration of borg user phil 2023-04-09 10:05:37 +02:00
  • dfbcbf3229 Remove unused borg_user variable phil 2023-04-09 09:57:34 +02:00
  • bd333305df Add credits phil 2023-04-09 09:56:01 +02:00
  • 5f699bf264 Add note about requirements phil 2023-04-09 09:54:09 +02:00
  • f5cb19eddd Add README phil 2023-04-09 09:51:26 +02:00
  • 73d0a45c1b Delete unused variables phil 2023-04-09 09:51:13 +02:00
  • dee49f5405 Enable only error output for cron job phil 2023-04-09 09:27:58 +02:00
  • f4d6366253 Add bash completion and labels to repositories phil 2023-04-09 09:25:16 +02:00
  • 72555d15c4 Fix copy of exported keys phil 2023-04-08 23:44:07 +02:00
  • 4e6628e86c Fetch exported keys phil 2023-04-08 23:20:21 +02:00
  • 3dd71eac1d WIP: Export repo key phil 2023-04-08 23:08:58 +02:00
  • 00f0b60613 WIP: Export borg repo key phil 2023-04-08 23:02:47 +02:00
  • d7222d3897 Fix variable name phil 2023-04-08 22:34:19 +02:00
  • 2e76b13610 Add SSH configuration phil 2023-04-08 22:33:17 +02:00
  • 90153baf93 Change default key name Sometimes it doesn't work with the @ sign phil 2023-04-08 21:55:23 +02:00
  • 5cbe4b5e4e Add python module phil 2023-04-08 21:54:51 +02:00
  • 4d7f7be683 Fix responses phil 2023-04-08 21:53:16 +02:00
  • 20fc1825e0 Init repo phil 2023-04-08 21:52:23 +02:00
  • 4fc7125b16 Add more variables phil 2023-04-08 21:37:24 +02:00
  • 7ef13a36f2 Add set_fact phil 2023-04-08 21:33:57 +02:00
  • 6c78f3e8ad Fix key name phil 2023-04-08 21:21:07 +02:00
  • d53f90be10 Fiy key path phil 2023-04-08 21:16:17 +02:00
  • 36cf1d10a9 Fix keyname phil 2023-04-08 21:12:46 +02:00
  • ce5f7104f9 Add defaults and more tasks phil 2023-04-08 21:07:04 +02:00
  • 0c3f79c02c Fix module name phil 2023-04-08 19:36:31 +02:00
  • 08d05ebf67 Fix dependencies phil 2023-04-08 19:25:45 +02:00
  • a05d1c8c24 Fix dependencies phil 2023-04-08 19:23:45 +02:00
  • 2d8d83aedc Initial commit phil 2023-04-08 19:17:38 +02:00