Cloudflare R2 backup fails, NoSuchKey
-
There's probably a bug in the Cloudflare Backup Storage Configuration.
I try to set up a configuration for backups on Cloudflare R2. After entering the Access Key id and the Secret Access Key, Cloudron keeps saying:
Error listing objects. Message: The specified key does not exist. HTTP Code: NoSuchKey
However, the key is valid (I'm 100% sure) and the endpoint exists. Actually, Cloudron makes a test file in that particular bucket. But because of the error in the Cloudron backup configuration window, I cannot save this setup.
Why does Cloudron say 'NoSuchKey', even though the key exists and Cloudron can access the bucket?
-
@milzamsz this happens when you put the bucket name in the Endpoint field . Cloudflare displays the URL with the bucket name in the end. It should be like below. Remove the "/cloudron-backups" (the name of my bucket below) and put it in the bucket name like below:
-
-
-
Praise for Cloudron's backup system: This is amazing! Digital Ocean charges 30% of the cost of the droplet for daily backups. If your droplet uses Cloudron, you can just use the built in backup to R2 for free and could even have it backup multiple times per day. So cool. Amazing cloudflare is offering so much free storage with r2 as well. I guess eventuallly they may change this but Cloudflare makes integrations so easy it seems trivial to just switch things over to s3 or Backblaze if that time comes. That said, I guess I haven't had to restore from a backup before so this is more just praise for the setup ease but I have faith in Cloudron team based on care I see with the product and in this forum!