a16dc204fe
Run dummy backup more frequently to make graphs easier to read
2024-01-24 20:10:14 -08:00
c5d5ab42b8
Add some nomad actions for backups to test different formatting
2024-01-23 12:05:56 -08:00
efe7864cc9
Delay shutdowns of backup jobs to reduce killing those in progress
2024-01-23 12:05:20 -08:00
b025e4a87e
Add repo unlock via Nomad action to backups
2024-01-06 16:22:20 -08:00
cda2842f8f
Switch to image containing stunnel
...
Rather than installing on container startup, using an image with
stunnel pre-installed. This avoids issues with DNS breaking
the container on startup.
2024-01-03 13:50:49 -08:00
25e533287d
Fix gitea backups syntax
2023-12-18 12:23:21 -08:00
ab6906e989
Gitea backups
2023-12-10 20:39:33 -08:00
2d733b278c
Make backup jobids static so they work on clean deploy
2023-11-30 09:55:08 -08:00
0d208b7394
Add dummy backup job to keep backup task running on all hosts
...
Otherwise, if a client is not running any stateful services, the task
will fail and Nomad will eventually stop retrying. If a service gets
relocated to the host, the task is not restarted. This makes sure the
task will cover moved services and make it more easy to determine that
backups are healthy.
2023-11-16 12:19:19 -08:00
9b347880cc
Ignore some regeneratable files in backups
...
Reduces the size of Lidarr and Photoprism backups
2023-11-07 16:50:02 -08:00
a0185d9642
Bump resources for backups to allow more memory
...
Was getting OOM killed
2023-11-07 16:49:27 -08:00
f2f5f4407c
Add TZ to restic-scheduler
2023-11-07 16:48:57 -08:00
0b3d3caff6
Update restic-scheduler to fix index out of range error
2023-11-07 16:48:41 -08:00
52abd94a38
Use minio as restic repo rather than sftp
...
I've been getting a lot of restic lock errors using sftp
2023-11-06 16:35:13 -08:00
bd2c5ca3db
Put restic cache on ephemeral disk
2023-10-23 08:54:05 -07:00
2bd939e651
Remove deprecated hcl2 enabled
2023-08-29 13:02:04 -07:00
769965ae6b
Fix lidarr to use postgres db creds
2023-08-29 12:52:30 -07:00
f5898b0283
Add workload ACL management for mysql and postgres access
...
Allows required jobs to access shared secrets and auto generates psks
for stunnel.
Currently supporting MySQL, Postgres, and LDAP.
2023-08-29 12:48:48 -07:00
a57e87d21f
Fix var path for adhoc backup jobs
2023-08-26 15:56:21 -07:00
d5078b24da
Refactor use of wesher to be behind a variable toggle
...
Occasionally I run into issues with Wesher. This makes it easier to
disable use of Wesher by setting TF_VAR_use_wesher to false.
2023-08-24 12:51:32 -07:00
0cfd052a6e
Move backup module to a module under root
2023-08-24 11:53:08 -07:00
45c597b040
Big refactor to split core and services for better ordering
2022-10-27 14:28:34 -07:00
e3633f9961
Make lldap backup daily
2022-07-28 15:05:00 -07:00
b9ef67b925
Working backup and restore
2022-07-27 22:04:22 -07:00
7d27dbb7f9
Skip dump of lldap db
2022-07-27 17:25:41 -07:00
73d193d0a5
Add lldap backup and templatize backup job
...
Now oneoff and system jobs are all using the same template
2022-07-27 17:02:29 -07:00
56b7ea8a9c
WIP: Update oneoff backups
2022-07-25 16:29:35 -07:00
7acca6d160
Fix consul backup
2022-07-25 16:29:06 -07:00
459481e8f7
Add test consul backup
2022-07-25 15:52:47 -07:00
2a77067bdc
WIP: Write a consul backup job
2022-07-21 20:24:50 -07:00
f460f890da
Use vault for backups jobs
2022-07-21 19:03:40 -07:00
d022fe9bc4
Deploy backup jobs to all hosts and dynamically determine jobs per node
2022-06-23 09:49:57 -07:00
d39c82762e
Add dedicated backup module and jobs
...
Possible alternative to backups deployed with each job
2022-05-18 14:23:46 -07:00