Commit Graph

72 Commits

Author SHA1 Message Date
27d8b9f88b Add fancy templating to Nextcloud backups
Because I, regrettably, do not have backups for the past like month because data got huge
2020-09-22 17:14:16 -05:00
a443cbb297 Fix Nextcloud backup script incorrect perms 2020-08-22 23:44:23 -05:00
94e35ccbb7 Don't take a DB backup for a DB that doesn't exist, Nextcloud 2020-08-15 16:02:28 -05:00
2a1299e9e0 Move Gitea to Postgres
Migration is nontrivial and SUCKS DICK but whatever
2020-08-15 16:01:56 -05:00
7c506157f7 Fix setting up a Mysql db that shouldn't exist 2020-08-15 15:43:50 -05:00
31d9aac7ef Move Nextcloud to PostgreSQL 2020-08-15 15:33:02 -05:00
bdaaf1336f Move Nextcloud to an EFS mount 2020-08-15 05:11:50 -05:00
12d09a58bd Reorganize matrix and nc vars 2020-08-02 19:43:08 -05:00
8990cc4494 More variable refactoring 2020-08-02 19:36:46 -05:00
c58b04533c Disable setting maintenance mode on Nextcloud backups
Risky move!
2020-06-30 06:28:49 -05:00
172fb2a33b Install php-redis on Nextcloud
ups
2020-06-26 23:48:41 -05:00
4b9e2503d6 Bump HSTS on Nextcloud 2020-06-25 06:30:44 -05:00
8bb24a28ca Move NC vars into defaults, where they should be 2020-06-24 07:10:22 -05:00
61175feabd Actually wait let's use the URL 2020-06-08 08:47:13 -05:00
763f1d0209 Add nc- to the beginning of NC backups 2020-06-08 08:45:55 -05:00
252ff7ecf9 Fix Nextcloud not purging old backups
So THAT'S where all my space was going
2020-06-07 02:12:54 -05:00
3dc0af70d7 Disable outdated TLS versions
hopefully this fixes git
2020-06-04 19:35:59 -05:00
fa963a3adb Remove old apache2 vhosts 2020-06-04 19:14:24 -05:00
d7f34587be Roll out new cipher suites 2020-06-03 06:07:11 -05:00
d094d7b31c Lower retention period for NC backups 2020-05-10 00:39:51 -05:00
2d5895c76e Really for real fix exclude glob 2020-05-06 23:24:10 -05:00
ebfa2e4b92 Fix perms on config.php
This is what NC sets it to every time I change it lol
2020-05-06 23:22:35 -05:00
f337532435 Fix order of tar args in NC backup script 2020-05-06 23:21:54 -05:00
3a33549174 Fix Nextcloud multipart backups being only slightly rotated 2020-05-06 09:46:45 -05:00
7646396dac Fix order of arguments for tar 2020-05-06 07:38:00 -05:00
4c829bf782 Exclude users' trash directories when making a NC backup 2020-05-06 03:27:53 -05:00
54d3aadb14 Improve Nextcloud backup script by removing redundant trap and recursing through symlinks for userdata 2020-05-06 02:12:17 -05:00
78e510211f Fix typo in nc backup script 2020-05-06 02:03:23 -05:00
4c54833b7e Actually add that file 2020-05-06 02:01:30 -05:00
f5acd6014d Add backup script for Nextcloud 2020-05-06 01:59:17 -05:00
9da55f236c Assert more specific permissions with Nextcloud 2020-05-06 00:31:49 -05:00
1906213fff Make nextcloud role less verbose 2020-04-18 03:15:41 -05:00
8cc6688469 Migrate domains, reorganize websites so that they actually leverage sites-available and sites-enabled 2020-02-27 05:16:02 -06:00
3a02792e3b Use handlers for Apache restarts, reorganize Minecraft tasks 2020-02-26 18:53:20 -06:00
f2237a8e00 Migrate nextcloud 2020-02-20 05:28:39 -06:00
90fcbf7cbc Move Apache-PHP to its own role, set up dependencies 2020-02-10 01:19:59 -06:00
685a20bca6 Move SSL-required package into https role 2020-02-10 01:05:38 -06:00
3e52a522f3 Generalize https setup into its own role 2020-02-10 00:50:56 -06:00
f8c152ebc1 Add fullchain to configs 2020-02-06 14:14:56 -06:00
ec2216a4cb Fix quoting on cronjob 2020-02-06 04:05:34 -06:00
ae29a7f870 Remove deprecated NameVirtualHost 2020-02-06 03:57:35 -06:00
7a1010f389 Fix typo in cronjob minute 2020-02-06 03:47:10 -06:00
96b7f55e63 Set up Nextcloud cronjob 2020-02-06 03:44:37 -06:00
cffd0b38bb Enable strict transport security 2020-02-06 03:22:38 -06:00
67373adcaf Add php configs, also add an unused mysql config 2020-02-06 03:17:15 -06:00
331005ab24 Change nextcloud db name 2020-02-06 01:42:12 -06:00
fc7f10a9e6 Let's uh... actually use the variable we set 2020-02-06 01:16:54 -06:00
e707695692 Create more appropriate Nextcloud directory 2020-02-06 00:53:47 -06:00
ada9a5b8c1 Remove sizes from Nextcloud keys
They default to 4096, and I don't want to have to bump them up as necessary
2020-02-06 00:45:01 -06:00
9cf24c1acc Fix permissions on Nextcloud webroot 2020-02-06 00:20:43 -06:00