Enable daily backups for the PostgreSQL databases
This commit is contained in:
parent
b2b26fc58c
commit
29a0a80594
|
@ -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";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue