feat: backup postgresql databases locally
This commit is contained in:
parent
7555fd2a78
commit
e0042116bf
1 changed files with 6 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
||||||
{
|
{
|
||||||
services.postgresql.enable = true;
|
services.postgresql.enable = true;
|
||||||
|
|
||||||
|
services.postgresqlBackup = {
|
||||||
|
enable = true;
|
||||||
|
backupAll = true;
|
||||||
|
location = "/var/backup/postgresql";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue