Commit graph

25 commits

Author SHA1 Message Date
Samuel Clay
699bbceeba Fixing postgres backup site. Also fixing Mongo backup collections. 2022-02-03 13:21:06 -05:00
Samuel Clay
5407fb526e Fixing postgres backup cron job. 2022-02-03 07:50:26 -05:00
Samuel Clay
09551d5d8f Finishing up PostgreSQL migration. Needs to test backups. 2022-01-07 15:47:36 -05:00
Samuel Clay
f33c1b3600 Using new repo password for postgres. 2021-12-17 17:35:01 -05:00
Samuel Clay
6b8e747ebc Moving around postgres config 2021-12-17 17:11:54 -05:00
Samuel Clay
aee543d913 Moving directories. 2021-12-17 16:56:30 -05:00
Samuel Clay
62529e96c2 Adding postgresql backup restoration. Working on config. 2021-12-17 16:53:28 -05:00
Samuel Clay
8da118f653 Restore postgres backup. Needs work. 2021-12-14 08:22:19 -05:00
Samuel Clay
777e69ae82 Prepping postgres backup 2021-12-13 17:09:37 -05:00
Samuel Clay
02b2546825 Adding hostnames to docker containers, changing mongo to just use host network mode dammit, and adding possibility for logging to dnsmasq. 2021-07-23 18:13:19 -04:00
Jonathan Math
0e81d2f346 no need to pass filename into backup_psql.py in ansible postgres backup. removing it 2021-06-27 14:40:00 -06:00
Jonathan Math
8ede5a3987 change get_postgres_credentials.py to get_credentials.py so it can also be used to get the s3 bucket name. Fix postgres backups 2021-06-27 14:11:14 -06:00
Jonathan Math
baee7a798b add multiline command syntax >- to cronjobs for sanity checkers 2021-06-27 13:24:07 -06:00
Jonathan Math
dfe72b3e04 add -it to disk usage commands for cronjobs. capitalize OUTPUT in disk usage commands 2021-06-25 11:46:09 -06:00
Jonathan Math
972f13b394 edit ansible files so that all disk usage sanity checkers run hourly 2021-06-25 11:42:21 -06:00
Jonathan Math
309155faeb fix docker commands for backups 2021-06-19 13:01:38 -06:00
Jonathan Math
c2bef5565b add backup to ansible for postgres 2021-06-19 12:35:28 -06:00
Jonathan Math
bf140f1aea fix disk usage sanity checker to check host machine and pass the data into the container to evaluate the disk usage and send an email 2021-06-18 14:57:29 -06:00
Jonathan Math
5bea910d46 keep sanity checkers alive, fix ln directive in ansible 2021-06-07 16:30:51 -04:00
Jonathan Math
17c64e4acc add disk usage sanity checker 2021-06-07 15:44:59 -04:00
Jonathan Math
45a37a5a99 remove unnecessary DOCKERBUILD env variable from postgres container role 2021-03-02 10:42:25 -05:00
Samuel Clay
e6d6667099 Adding consul tags for easy installation on services. 2021-02-23 19:30:28 -05:00
Samuel Clay
bdd4857bae Deleting all ufw rules on every run so firewalls remain clean. Also reloading gunicorn. 2021-02-23 18:37:56 -05:00
Jonathan Math
3989833a5d registering postgres service in consul 2021-02-15 19:13:23 -05:00
Jonathan Math
c59f3c1430 move postgres tasks into postgres role 2021-02-03 10:43:08 -05:00