backup: report restic progress, allow more open files
This commit is contained in:
parent
efd124ac4f
commit
fcdb823c5c
|
@ -108,8 +108,20 @@ in
|
||||||
ln -fs {,/home}/root/.ssh/config
|
ln -fs {,/home}/root/.ssh/config
|
||||||
'';
|
'';
|
||||||
|
|
||||||
systemd.timers = lib.mkIf config.services.postgresqlBackup.enable {
|
systemd = {
|
||||||
postgresqlBackup.timerConfig.RandomizedDelaySec = "5m";
|
services = {
|
||||||
|
restic-backups-server8.serviceConfig = {
|
||||||
|
Environment = "RESTIC_PROGRESS_FPS=0.016666";
|
||||||
|
LimitNOFile = 1024*32;
|
||||||
|
};
|
||||||
|
restic-backups-offsite.serviceConfig = {
|
||||||
|
Environment = "RESTIC_PROGRESS_FPS=0.016666";
|
||||||
|
LimitNOFile = 1024*32;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
timers = lib.mkIf config.services.postgresqlBackup.enable {
|
||||||
|
postgresqlBackup.timerConfig.RandomizedDelaySec = "5m";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user