Enable daily backups for the PostgreSQL databases

This commit is contained in:
coolneng 2021-04-07 13:18:49 +02:00
parent b2b26fc58c
commit 29a0a80594
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 8 additions and 0 deletions

View File

@ -22,4 +22,12 @@
Unit = "git-pull.service"; Unit = "git-pull.service";
}; };
}; };
# PostgreSQL daily backups
services.postgresqlBackup = {
enable = true;
backupAll = true;
location = "/vault/backups/databases/nextcloud";
startAt = "*-*-* 05:15:00";
};
} }