2023-08-21 11:40:56 +02:00
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
# automatically back up all databases
|
|
|
|
services.postgresqlBackup = {
|
|
|
|
enable = true;
|
|
|
|
location = "/var/lib/backup/postgresql";
|
2023-08-21 11:48:03 +02:00
|
|
|
databases = [
|
|
|
|
"course-management"
|
|
|
|
"gitea"
|
|
|
|
"hedgedoc"
|
|
|
|
"matrix-synapse"
|
|
|
|
"mautrix-telegram"
|
|
|
|
"mediawiki"
|
|
|
|
"nextcloud"
|
|
|
|
"postgres"
|
|
|
|
"sogo"
|
|
|
|
"vaultwarden"
|
2023-09-14 16:03:29 +02:00
|
|
|
"mailman"
|
|
|
|
"mailmanweb"
|
2023-08-21 11:48:03 +02:00
|
|
|
];
|
2023-08-21 11:40:56 +02:00
|
|
|
};
|
|
|
|
}
|