R
RunPod5w ago
Dronte

Is there an api to sync with Backblaze B2?

For example, I'd be happy to create network volumes with some objects in blackbaze and vice versa: upload data from network volumes data to blackbaze.
2 Replies
Jason
Jason5w ago
you can use any aws s3 library to upload files and download files from backblaze code your own client
riverfog7
riverfog74w ago
Unfortunately no FUSE in runpod (like mounting s3 buckets to a directory) but you can always use aws s3 sync to sync the full thing export B2_APPLICATION_KEY_ID='key here' export B2_APPLICATION_KEY='key here' export B2_S3_ENDPOINT='https://s3.us-east-005.backblazeb2.com' AWS_SECRET_ACCESS_KEY="${B2_APPLICATION_KEY}" AWS_ACCESS_KEY_ID="${B2_APPLICATION_KEY_ID}" aws s3 --endpoint-url="${B2_S3_ENDPOINT}" sync s3://bucket/folder ./local/folder sth like this

Did you find this page helpful?