diff options
| author | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-08-17 11:25:33 +0200 |
|---|---|---|
| committer | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-08-17 11:25:33 +0200 |
| commit | 1be972048dd58218cd689ecb5cac562eb398b751 (patch) | |
| tree | 203f19ee01ad5fe28f2868e8c1451f9538e4ab12 /hosts/apocalypse/backup.nix | |
| parent | 3cd59d4670711e34a50adea912c3b0894883e490 (diff) | |
refreshed config
Diffstat (limited to '')
| -rw-r--r-- | hosts/apocalypse/backup.nix (renamed from nixos/hosts/apocalypse/backup.nix) | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/hosts/apocalypse/backup.nix b/hosts/apocalypse/backup.nix index 07386be..3529024 100644 --- a/nixos/hosts/apocalypse/backup.nix +++ b/hosts/apocalypse/backup.nix @@ -10,6 +10,10 @@ instances."remote_vault" = { onCalendar = "weekly"; settings = { + snapshot_preserve_min = "1w"; + snapshot_preserve = "2w"; + target_preserve_min = "1w"; + target_preserve = "4w"; ssh_identity = "/etc/vault_key"; # NOTE: must be readable by user/group btrbk ssh_user = "vaultmanager"; stream_compress = "lz4"; @@ -17,7 +21,7 @@ target = "ssh://10.127.9.1/vault/backups/apocalypse"; subvolume = { "@root" = { - snapshot_create = "always"; + snapshot_create = "ondemand"; }; }; }; |
