From c461ab5e4916ea75a995be202b6763ab7726aa75 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Sat, 3 Feb 2024 14:22:23 +0100 Subject: [PATCH] replace AWS with borgbase for backups --- nixos/modules/backups.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/backups.nix b/nixos/modules/backups.nix index b7d0a63..3abf6b1 100644 --- a/nixos/modules/backups.nix +++ b/nixos/modules/backups.nix @@ -17,9 +17,9 @@ let repositories: - path: ${cfg.repoLocation} label: nfs - - path: ssh://admin@ec2-3-254-121-39.eu-west-1.compute.amazonaws.com/mnt/data/nfs.borg + - path: ssh://s6969ym3@s6969ym3.repo.borgbase.com/./repo label: ec2 - ssh_command: "${pkgs.openssh}/bin/ssh -i ${config.age.secrets."ec2_borg_server.pem".path} -o StrictHostKeychecking=no -o ConnectTimeout=10 -o ConnectionAttempts=3" + ssh_command: "${pkgs.openssh}/bin/ssh -i ${config.age.secrets."ec2_borg_server.pem".path} -o StrictHostKeychecking=no" keep_daily: 7 keep_weekly: 4 keep_monthly: 6