restic: switched from bb b2 to hetzner s3 (in EU)

This commit is contained in:
eyjhb 2025-03-25 21:29:36 +01:00
parent ad03e82feb
commit fd98cfb6d0
Signed by: eyjhb
GPG key ID: 609F508E3239F920
2 changed files with 16 additions and 12 deletions

View file

@ -1,9 +1,13 @@
{ config, lib, ... }:
{
let
s3_bucketname = "rummepungen";
s3_url = "fsn1.your-objectstorage.com/${s3_bucketname}";
s3_path = "gerd_backup";
in {
services.restic = {
backups.main = {
repository = "b2:situla-${config.mine.shared.settings.brand_lower}:.";
repository = "s3:${s3_url}/${s3_path}";
passwordFile = config.age.secrets."restic-pass".path;
environmentFile = config.age.secrets."restic-env".path;