timelapse-r11: reduce load on fwminex
This commit is contained in:
@@ -506,7 +506,7 @@ in
|
|||||||
|
|
||||||
timelapse-r11 = {
|
timelapse-r11 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
onCalendar = "*:*:0";
|
onCalendar = "*-*-* *:0/5:00";
|
||||||
secretsEnv = config.age.secrets.timelapse.path;
|
secretsEnv = config.age.secrets.timelapse.path;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ in
|
|||||||
|
|
||||||
timelapse-r11 = {
|
timelapse-r11 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
onCalendar = "*:*:30"; # 30'th second every minute
|
onCalendar = "*-*-* *:*:30"; # 30'th second every minute
|
||||||
secretsEnv = config.age.secrets.timelapse.path;
|
secretsEnv = config.age.secrets.timelapse.path;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -136,16 +136,7 @@ in
|
|||||||
passwordPath = config.age.secrets.borgbackup-password.path;
|
passwordPath = config.age.secrets.borgbackup-password.path;
|
||||||
sshKeyPath = "/etc/ssh/ssh_host_ed25519_key";
|
sshKeyPath = "/etc/ssh/ssh_host_ed25519_key";
|
||||||
dirs =
|
dirs =
|
||||||
[
|
builtins.concatMap
|
||||||
{
|
|
||||||
subvolume = "/";
|
|
||||||
repo = "${fwminex}:${this}-timelapse-r11";
|
|
||||||
paths = [ "var/lib/private/timelapse-r11" ];
|
|
||||||
backup_at = "*-*-* 02:01:00 UTC";
|
|
||||||
compression = "none";
|
|
||||||
}
|
|
||||||
]
|
|
||||||
++ (builtins.concatMap
|
|
||||||
(
|
(
|
||||||
host:
|
host:
|
||||||
let
|
let
|
||||||
@@ -163,8 +154,7 @@ in
|
|||||||
[
|
[
|
||||||
rsync-net
|
rsync-net
|
||||||
fwminex
|
fwminex
|
||||||
]
|
];
|
||||||
);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
btrfssnapshot = {
|
btrfssnapshot = {
|
||||||
|
|||||||
Reference in New Issue
Block a user