setup backup pipeline

This commit is contained in:
2024-10-14 12:17:17 +02:00
parent fb7688baf3
commit 2b4769cae6
4 changed files with 35 additions and 2 deletions

View File

@@ -51,6 +51,7 @@
};
services.btrbk = {
extraPackages = [ pkgs.lz4 ];
instances = {
hf = {
onCalendar = "hourly";
@@ -91,7 +92,7 @@
ssh_user = "btrbk";
volume = {
"ssh://jupiter.home.opel-online.de/mnt/snapshots/Mars" = {
"ssh://jupiter.home.opel-online.de:2220/mnt/snapshots/Mars" = {
target = "/mnt/nas/Backups/Mars";
subvolume = {
"@nas" = {};
@@ -99,7 +100,7 @@
};
};
volume = {
"ssh://jupiter.home.opel-online.de/mnt/snapshots/Pluto" = {
"ssh://jupiter.home.opel-online.de:2220/mnt/snapshots/Pluto" = {
target = "/mnt/nas/Backups/Pluto";
subvolume = {
"@/Games" = {};