Commit Graph

19 Commits

Author SHA1 Message Date
b4394f52af Clean up file permissions 2021-07-01 12:12:06 -05:00
7484dce678 Update backup script to do it all, allowing for directory AND DB backups 2021-05-04 13:38:39 -05:00
49b156c5dc Specify service type for ansible-pull and backup 2021-01-16 23:47:29 -06:00
ca920a1f83 Fix using a service in place of a timer 2021-01-16 23:40:57 -06:00
4e6c96fabd Reduce unnecessary steps in ansible-pull and backup roles 2021-01-16 23:23:07 -06:00
abcfaea0a5 Modify ansible-pull and backup services to only run when connected to the internet 2021-01-16 23:19:28 -06:00
dc52392ebb Put backups in a folder labeled after full inventory hostname, not short
We were having conflicts with psql1.9iron.club and psql1.desu.ltd
2021-01-14 17:56:00 -06:00
d8640bae9b Fix backups failing
WHOOPSIE
2020-12-30 18:06:13 -06:00
1710d1108b Fix backup script to exclude items BEFORE the main arguments 2020-12-29 09:08:38 -06:00
a5b83e1a59 Fix incorrect expansion of array in s3backup.sh 2020-12-29 08:44:11 -06:00
1933ba21c0 Concatenate JINJA for loops, echo back ignored directories in backup script 2020-12-29 08:43:42 -06:00
eb97eb4a7a Add ability to exclude from s3backup.sh, lay out gameserver backups more nicely to respect this 2020-12-29 08:35:41 -06:00
bf37b4d66d Reorganize backup defaults to make a bit more sense 2020-12-24 09:43:57 -06:00
3b17b4e39c Wait no this is the commit for the new backup script 2020-12-24 09:40:58 -06:00
5cfbca0534 Actually genericize properly this time, plus add a new backup script for pgdump 2020-12-24 09:35:17 -06:00
6d9d3a4784 Revert "Genericize s3 configuration"
This reverts commit 74cd565cad.
2020-12-24 09:33:33 -06:00
74cd565cad Genericize s3 configuration 2020-12-24 09:32:08 -06:00
d353eefa2c Don't back up anything by default
ESPECIALLY not /root. Turns out that tars up the entire goddamn pip cache, which is like 500M on my laptop
2020-12-24 09:21:05 -06:00
00fb2bb32e Work on a basic implementation of backups
Still need to set up good defaults and do host-based configuration tho
2020-12-24 09:06:20 -06:00