ma owncloud: 20 -> 21, back up postgres

This commit is contained in:
makefu 2021-04-04 10:23:40 +02:00
parent 40be037284
commit 93bb408b53
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -36,10 +36,20 @@ in {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
}; };
state = [ "${config.services.nextcloud.home}/config" ]; services.postgresqlBackup = {
enable = true;
databases = [ config.services.nextcloud.config.dbname ];
};
state = [
# services.postgresql.dataDir
# "${config.services.nextcloud.home}/config"
config.services.postgresqlBackup.location
];
services.nextcloud = { services.nextcloud = {
enable = true; enable = true;
package = pkgs.nextcloud20; package = pkgs.nextcloud21;
hostName = "o.euer.krebsco.de"; hostName = "o.euer.krebsco.de";
# Use HTTPS for links # Use HTTPS for links
https = true; https = true;