diff --git a/hosts/hetzner-vm/containers/storage/profiles/rclone-sync.nix b/hosts/hetzner-vm/containers/storage/profiles/rclone-sync.nix index 3c4ee99..7621e20 100644 --- a/hosts/hetzner-vm/containers/storage/profiles/rclone-sync.nix +++ b/hosts/hetzner-vm/containers/storage/profiles/rclone-sync.nix @@ -40,6 +40,11 @@ dest = "B2-Chaos-Public:"; id = "chaos_b2_public"; } + { + source = "StorageBox:Media"; + dest = "B2-Chaos-Media:"; + id = "chaos_b2_media"; + } # Pheonix System's B2 { source = "StorageBox:Backups"; @@ -66,6 +71,11 @@ dest = "B2-Phoenix-Cryptidz-Storage:Public"; id = "phoenix_b2_public"; } + { + source = "StorageBox:Media"; + dest = "B2-Phoenix-Cryptidz-Storage:Media"; + id = "phoenix_b2_media"; + } ]; }; } diff --git a/hosts/hetzner-vm/containers/storage/profiles/rclone_config.template b/hosts/hetzner-vm/containers/storage/profiles/rclone_config.template index a10241b..bea80da 100644 --- a/hosts/hetzner-vm/containers/storage/profiles/rclone_config.template +++ b/hosts/hetzner-vm/containers/storage/profiles/rclone_config.template @@ -66,6 +66,16 @@ hard_delete = true type = alias remote = B2-Chaos-Public-Source:Chaos-Public +[B2-Chaos-Media-Source] +type = b2 +account = B2_CHAOS_MEDIA_ACCOUNT +key = B2_CHAOS_MEDIA_KEY +hard_delete = true + +[B2-Chaos-Media] +type = alias +remote = B2-Chaos-Media-Source:Chaos-Media + [B2-Phoenix-Cryptidz-Storage-Source] type = b2 account = B2_PHOENIX_CRYPTIDZ_STORAGE_ACCOUNT diff --git a/hosts/hetzner-vm/containers/storage/profiles/secrets.nix b/hosts/hetzner-vm/containers/storage/profiles/secrets.nix index 8b072dd..8fac60e 100644 --- a/hosts/hetzner-vm/containers/storage/profiles/secrets.nix +++ b/hosts/hetzner-vm/containers/storage/profiles/secrets.nix @@ -126,6 +126,7 @@ simple_get_replace_b2 "/api-keys/backblaze/Chaos-Music" "B2_CHAOS_MUSIC" ./template simple_get_replace_b2 "/api-keys/backblaze/Chaos-Personal" "B2_CHAOS_PERSONAL" ./template simple_get_replace_b2 "/api-keys/backblaze/Chaos-Public" "B2_CHAOS_PUBLIC" ./template + simple_get_replace_b2 "/api-keys/backblaze/Chaos-Media" "B2_CHAOS_MEDIA" ./template simple_get_replace_b2 "/api-keys/backblaze/Phoenix-Cryptidz-Storage" "B2_PHOENIX_CRYPTIDZ_STORAGE" ./template PUTIO_PASSWORD="token/$(simple_get /api-keys/putio .oauth_token)"