nixos: services: postgresql-backup: persist data

This commit is contained in:
Bruno BELANYI 2021-11-03 17:12:58 +01:00
parent 8b67a1da8e
commit 07737b5076

View file

@ -24,5 +24,9 @@ in
(config.services.postgresqlBackup.location + "/*.prev.sql.gz") (config.services.postgresqlBackup.location + "/*.prev.sql.gz")
]; ];
}; };
my.system.persist.directories = [
config.services.postgresqlBackup.location
];
}; };
} }