diff --git a/nixos/modules/backups.nix b/nixos/modules/backups.nix index 3abf6b1..47e3128 100644 --- a/nixos/modules/backups.nix +++ b/nixos/modules/backups.nix @@ -19,6 +19,8 @@ let label: nfs - path: ssh://s6969ym3@s6969ym3.repo.borgbase.com/./repo label: ec2 + exclude_patterns: + - ${cfg.snapshotLocation}/media ssh_command: "${pkgs.openssh}/bin/ssh -i ${config.age.secrets."ec2_borg_server.pem".path} -o StrictHostKeychecking=no" keep_daily: 7 keep_weekly: 4