nextcloud: Back up Nextcloud with Restic

Now that the database is hosted externally, we don't have to worry about
backing it up specifically.  Restic only backs up the data on the
filesystem.
frigate-exporter
Dustin 2024-09-04 09:39:01 -05:00
parent 0f4dea9007
commit c2c283c431
2 changed files with 6 additions and 0 deletions

View File

@ -15,3 +15,8 @@ nextcloud_smtp:
dnf_automatic_exclude: nextcloud dnf_automatic_exclude: nextcloud
nextcloud_db_host: postgresql.pyrocufflink.blue;sslcert=/etc/nextcloud/postgresql.cer;sslkey=/etc/nextcloud/postgresql.key;sslrootcert=system;sslmode=verify-full nextcloud_db_host: postgresql.pyrocufflink.blue;sslcert=/etc/nextcloud/postgresql.cer;sslkey=/etc/nextcloud/postgresql.key;sslrootcert=system;sslmode=verify-full
restic_include:
- /var/lib/nextcloud
restic_exclude:
- /var/lib/nextcloud/data/*/files_trashbin

1
hosts
View File

@ -164,6 +164,7 @@ samba-dc
file0.pyrocufflink.blue file0.pyrocufflink.blue
[restic] [restic]
cloud0.pyrocufflink.blue
[rw-root] [rw-root]