add Media to backups

This commit is contained in:
Chaos 2023-07-31 16:16:29 +00:00
parent 276e0365b5
commit 1ac2e16a6f
No known key found for this signature in database
3 changed files with 21 additions and 0 deletions

View file

@ -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";
}
];
};
}

View file

@ -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

View file

@ -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)"