personal storage & sync

This commit is contained in:
Chaos 2023-07-09 20:46:08 +01:00
parent cdd6cffa23
commit 20a83bc079
No known key found for this signature in database
3 changed files with 21 additions and 0 deletions

View file

@ -30,6 +30,11 @@
dest = "B2-Chaos-Music:"; dest = "B2-Chaos-Music:";
id = "chaos_b2_music"; id = "chaos_b2_music";
} }
{
source = "StorageBox:Personal";
dest = "B2-Chaos-Personal:";
id = "chaos_b2_personal";
}
# Pheonix System's B2 # Pheonix System's B2
{ {
source = "StorageBox:Backups"; source = "StorageBox:Backups";
@ -46,6 +51,11 @@
dest = "B2-Phoenix-Cryptidz-Storage:Music"; dest = "B2-Phoenix-Cryptidz-Storage:Music";
id = "phoenix_b2_music"; id = "phoenix_b2_music";
} }
{
source = "StorageBox:Personal";
dest = "B2-Phoenix-Cryptidz-Storage:Personal";
id = "phoenix_b2_personal";
}
]; ];
}; };
} }

View file

@ -46,6 +46,16 @@ hard_delete = true
type = alias type = alias
remote = B2-Chaos-Music-Source:Chaos-Music remote = B2-Chaos-Music-Source:Chaos-Music
[B2-Chaos-Personal-Source]
type = b2
account = B2_CHAOS_PERSONAL_ACCOUNT
key = B2_CHAOS_PERSONAL_KEY
hard_delete = true
[B2-Chaos-Personal]
type = alias
remote = B2-Chaos-Personal-Source:Chaos-Personal
[B2-Phoenix-Cryptidz-Storage-Source] [B2-Phoenix-Cryptidz-Storage-Source]
type = b2 type = b2
account = B2_PHOENIX_CRYPTIDZ_STORAGE_ACCOUNT account = B2_PHOENIX_CRYPTIDZ_STORAGE_ACCOUNT

View file

@ -125,6 +125,7 @@
simple_get_replace_b2 "/api-keys/backblaze/Chaos-Backups" "B2_CHAOS_BACKUPS" ./template simple_get_replace_b2 "/api-keys/backblaze/Chaos-Backups" "B2_CHAOS_BACKUPS" ./template
simple_get_replace_b2 "/api-keys/backblaze/Chaos-Photos" "B2_CHAOS_PHOTOS" ./template simple_get_replace_b2 "/api-keys/backblaze/Chaos-Photos" "B2_CHAOS_PHOTOS" ./template
simple_get_replace_b2 "/api-keys/backblaze/Chaos-Music" "B2_CHAOS_MUSIC" ./template 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/Phoenix-Cryptidz-Storage" "B2_PHOENIX_CRYPTIDZ_STORAGE" ./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)" PUTIO_PASSWORD="token/$(simple_get /api-keys/putio .oauth_token)"