mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Exclude postgres DB when backing up /var/lib
This commit is contained in:
parent
11f2227514
commit
5913220ada
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ systemConfiguration {
|
||||||
|
|
||||||
repository = "sftp:backup@disk:${config.networking.hostName}-varlib";
|
repository = "sftp:backup@disk:${config.networking.hostName}-varlib";
|
||||||
|
|
||||||
paths = [ "/var/lib" ];
|
paths = [ "/var/lib" ];
|
||||||
|
exclude = [ "/var/lib/postgresql" ]; # TODO
|
||||||
|
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
OnCalendar = "daily";
|
OnCalendar = "daily";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue