# Can I migrate from Backblaze's B2 API to Backblaze's S3 API?

**URL:** <https://kopia.discourse.group/t/can-i-migrate-from-backblazes-b2-api-to-backblazes-s3-api/2420>\
**Category:** General Topics\
**Created:** [November 15, 2023, 4:40am UTC](https://kopia.discourse.group/t/can-i-migrate-from-backblazes-b2-api-to-backblazes-s3-api/2420 "2023-11-15T04:40:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dustinj](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/dustinj/32/178_2.png) [@dustinj](https://kopia.discourse.group/u/dustinj)\
**Post date:** [November 15, 2023, 4:40am UTC](https://kopia.discourse.group/t/can-i-migrate-from-backblazes-b2-api-to-backblazes-s3-api/2420/1 "2023-11-15T04:40:35Z")

</div>

I created a repository in a Backblaze B2 bucket quite some time ago. Now, because of many of the features pointed out in the [ransomware protection article](https://kopia.io/docs/advanced/ransomware-protection/), I would like to switch Kopia’s connection mechanism to the S3 compatibility API that Backblaze offers. To be clear, I would like to keep using my existing Kopia repo in the Backblaze B2 bucket without modification and simply switch how Kopia connects to it to use S3’s API. Is this possible?

---

<div class="post-metadata">

**Author:** ![Mxx](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/mxx/32/776_2.png) [@Mxx](https://kopia.discourse.group/u/Mxx)\
**Post date:** [November 20, 2023, 12:58am UTC](https://kopia.discourse.group/t/can-i-migrate-from-backblazes-b2-api-to-backblazes-s3-api/2420/2 "2023-11-20T00:58:29Z")

</div>

If you created your B2 bucket “quite some time ago”, does it actually have S3-compatible endpoint?  
Buckets created before May 4, 2020, cannot be used with B2’s S3 Compatible APIs.
