# Set up BackBlaze S3 with BunnyCDN

**URL:** <https://meta.discourse.org/t/set-up-backblaze-s3-with-bunnycdn/159135>\
**Category:** Sysadmins\
**Tags:** how-to\
**Created:** [July 29, 2020, 3:33am UTC](https://meta.discourse.org/t/set-up-backblaze-s3-with-bunnycdn/159135 "2020-07-29T03:33:57Z")\
**Posts on this page:** 1\
**Showing post:** 33

<div class="post-metadata">

**Author:** ![becl](https://avatars.discourse-cdn.com/v4/letter/b/b9bd4f/32.png) [@becl](https://meta.discourse.org/u/becl)\
**Post date:** [April 16, 2025, 10:14pm UTC](https://meta.discourse.org/t/set-up-backblaze-s3-with-bunnycdn/159135/33 "2025-04-16T22:14:21Z")

</div>

I need some help. I went down the rabbit hole (pardon the bunny pun) for the last two days, trying to get backups and images to go to Backblaze.

I used this forum post and others to try and set it up. Now I keep getting and error message on the backups (though still have not been able to get the uploads to work but first things first with the backups)

I have setup buckets in Backblaze, keys and the pull zones.

These are the settings in All Site Settings for S3

 ![The image is a screenshot of server management settings for uploading files to Amazon S3, including options for employing a custom S3 upload bucket, setting an S3 CDN URL, enabling automatic deletion policies, recommending the use of ACLs, and preventing cleanup of backup files. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/2/c/5/2c5b28355aaa3547c1ca2e8272c2ed8b6613f562.png)

These are the settings in the Backup Settings

 ![The image shows the settings for maximum backups and automatic backup configurations for a forum, with options to include uploads and thumbnails in backups. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/d/1/d/d1d4a3ab0e82ee3929e4a4c94ec77cf02632bcbd.png)

This is my app.yml - the second section that is commented out, I was playing around with yesterday but it was causing Discourse to hang at the loading screen.

 ![The image displays multiple lines of redacted configuration settings for a cloud storage service, with various fields related to S3 access, backups, and uploads. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/c/e/0/ce0eb804564e19025c5413f5f2af70e3e9ef90b1.png)

When I run backups I get this screen, I guess because I have not got the uploads part working. It may be irrelevant but thought I should add it.

 ![The image is a popup message asking if the user wants to start a database backup, noting that it will not include file uploads and no image uploads are included, with a guide available for full backups. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/d/6/b/d6bb42e06411f7da3afa95b9d9a9d25ed40094e8.png)

This is the error log on the backup

 ![The image displays a terminal log showing the process of archiving and uploading data to an AWS S3 bucket, interspersed with an exception message indicating an invalid DNS name related to the AWS SDK S3 plugin. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/6/8/c/68c8c941995d193ada817f8ce702bda37763e700.png)

This is the error log

 ![The image shows error messages and warnings related to missing header files, unsupported DNS names, missing gem files, and file resolution issues in a Ruby system. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/a/8/0/a80d5c89bd48f487fdbfc6ee0ddb9d7f49a68466.png)

I should also mention I ran the Rake tasks using

```plaintext
rake uploads:migrate_to_s3
rake posts:rebake

```

My brain is doing loops after two days of trying to get it to work. Can anyone help me figure out where I am going wrong? I hope I have included everything needed to troubleshoot. 😫

---

_[View the full topic](https://meta.discourse.org/t/set-up-backblaze-s3-with-bunnycdn/159135)._
