unused
This commit is contained in:
parent
9cbf1434f9
commit
6fc3a36beb
1 changed files with 0 additions and 28 deletions
|
@ -1,28 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
localbackup = {
|
|
||||||
exclude = [
|
|
||||||
"/home/*/.cache"
|
|
||||||
];
|
|
||||||
initialize = true;
|
|
||||||
passwordFile = "/etc/nixos/secrets/restic-password";
|
|
||||||
paths = [
|
|
||||||
"/home"
|
|
||||||
];
|
|
||||||
repository = "/mnt/backup-hdd";
|
|
||||||
};
|
|
||||||
remotebackup = {
|
|
||||||
extraOptions = [
|
|
||||||
"sftp.command='ssh backup@host -i /etc/nixos/secrets/backup-private-key -s sftp'"
|
|
||||||
];
|
|
||||||
passwordFile = "/etc/nixos/secrets/restic-password";
|
|
||||||
paths = [
|
|
||||||
"/home"
|
|
||||||
];
|
|
||||||
repository = "sftp:backup@host:/backups/home";
|
|
||||||
timerConfig = {
|
|
||||||
OnCalendar = "00:05";
|
|
||||||
RandomizedDelaySec = "5h";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue