backup finance folder

This commit is contained in:
Ingolf Wagner 2019-10-25 09:54:38 +02:00
parent 2eb5141f6b
commit 9a8f27f3d4
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
5 changed files with 15 additions and 4 deletions

View file

@ -41,6 +41,7 @@
users.groups."syncthing".members = [ "mpd" "syncthing" "kodi" "palo" ]; users.groups."syncthing".members = [ "mpd" "syncthing" "kodi" "palo" ];
backup.all.restic.dirs = ["/var/lib/syncthing/finance"];
} }

View file

@ -50,4 +50,6 @@
after = [ "media.mount" ]; after = [ "media.mount" ];
}; };
backup.all.restic.dirs = ["/home/syncthing/finance"];
} }

View file

@ -1,14 +1,12 @@
{ {
backup.services.restic = { backup.services.restic = {
"on-porani".enable = false; "on-porani".enable = true;
"on-workhorse".enable = true; "on-workhorse".enable = true;
"on-workout".enable = true; "on-workout".enable = true;
}; };
backup.all.restic.dirs = [ backup.all.restic.dirs = [
"/home/palo/.gnupg"
"/home/palo/.ssh"
"/home/palo/.password-store" "/home/palo/.password-store"
]; ];

View file

@ -7,6 +7,7 @@
./initssh.nix ./initssh.nix
./graylog-exporter.nix ./graylog-exporter.nix
./prometheus-exporters.nix ./prometheus-exporters.nix
./restic.nix
]; ];
# make sure laptops stay awake when closing the montior # make sure laptops stay awake when closing the montior

9
system/server/restic.nix Normal file
View file

@ -0,0 +1,9 @@
{
backup.services.restic = {
"on-porani".enable = true;
"on-workhorse".enable = true;
"on-workout".enable = true;
};
}