fixes restic config
This commit is contained in:
parent
25baab3361
commit
4b0c763575
1 changed files with 13 additions and 11 deletions
|
|
@ -175,17 +175,19 @@
|
||||||
|
|
||||||
# Backups
|
# Backups
|
||||||
services.restic.backups = {
|
services.restic.backups = {
|
||||||
initialize = true;
|
"dnsc-storage" = {
|
||||||
passwordFile = config.age.secrets."restic/password".path;
|
initialize = true;
|
||||||
repository = "sftp:dnsc-storage:restic/dnsc-server";
|
passwordFile = config.age.secrets."restic/password".path;
|
||||||
paths = [
|
repository = "sftp:dnsc-storage:restic/dnsc-server";
|
||||||
"/home/dennis/notes"
|
paths = [
|
||||||
"/main/share"
|
"/home/dennis/notes"
|
||||||
];
|
"/main/share"
|
||||||
timerConfig = {
|
];
|
||||||
onCalendar = "daily";
|
timerConfig = {
|
||||||
Persistent = true;
|
onCalendar = "daily";
|
||||||
RandomizedDelaySec = "5h";
|
Persistent = true;
|
||||||
|
RandomizedDelaySec = "5h";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue