Skip to content

Commit

Permalink
[nixos/server] generate list of database backups
Browse files Browse the repository at this point in the history
  • Loading branch information
pSub committed Jan 28, 2025
1 parent ccabb44 commit 18c53be
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions nixos/server/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -459,11 +459,7 @@ in {
services.logrotate.checkConfig = false;
services.logrotate.settings = {
"postgresql" = {
files = [
"/var/backup/postgresql/atuin.sql.gz"
"/var/backup/postgresql/homepage_production.sql.gz"
"/var/backup/postgresql/nextcloud.sql.gz"
];
files = lib.map (x: "/var/backup/postgresql/" + x + ".sql.gz") config.services.postgresqlBackup.databases;
frequency = "daily";
rotate = 30;
};
Expand Down

0 comments on commit 18c53be

Please sign in to comment.