diff --git a/machines/gitea/backup.nix b/machines/gitea/backup.nix index 7b26f13..0d889fb 100644 --- a/machines/gitea/backup.nix +++ b/machines/gitea/backup.nix @@ -7,9 +7,10 @@ let environment = { BORG_RSH = "ssh -i ${config.sops.secrets.gitea_backup_ssh_key.path}"; }; - repo = "ssh://zh2088@zh2088.rsync.net:backups/gitea/${name}"; + repo = "ssh://zh2088@zh2088.rsync.net/./backups/gitea/${name}"; compression = "zstd,10"; startAt = "*-*-* 2,6,10,14,18,22:30:00"; + extraInitArgs = "--make-parent-dirs"; encryption = { mode = "repokey-blake2";