change backup frequency
This commit is contained in:
parent
a7de77a0fc
commit
48d8bacea8
4 changed files with 7 additions and 8 deletions
|
@ -53,6 +53,7 @@
|
|||
toolchain:
|
||||
toolchain.default.override {
|
||||
extensions = [ "rust-src" ];
|
||||
targets = [ "aarch64-unknown-linux-musl" ];
|
||||
}
|
||||
))
|
||||
pwgen
|
||||
|
|
|
@ -19,8 +19,5 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
services.postgresqlBackup = {
|
||||
enable = true;
|
||||
startAt = "hourly";
|
||||
};
|
||||
services.postgresqlBackup.enable = true;
|
||||
}
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
resolvconf.enable = true;
|
||||
firewall = {
|
||||
enable = true;
|
||||
trustedInterfaces = [ "tailscale0" ];
|
||||
trustedInterfaces = [ "tailscale0" "virbr0" ];
|
||||
# allowedTCPPorts = [
|
||||
# 8080 # mitmproxy
|
||||
# 22000 # syncthing
|
||||
|
|
|
@ -47,7 +47,7 @@ in
|
|||
};
|
||||
startAt = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "hourly";
|
||||
default = "daily";
|
||||
description = "see systemd.timer(5)";
|
||||
};
|
||||
jobName = lib.mkOption {
|
||||
|
@ -98,8 +98,9 @@ in
|
|||
failOnWarnings = false;
|
||||
|
||||
prune.keep = {
|
||||
within = "2d";
|
||||
daily = 365;
|
||||
daily = 7;
|
||||
weekly = 12;
|
||||
monthly = -1;
|
||||
};
|
||||
extraPruneArgs = [ "--stats" ];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue