VPS Snaps

Configuring Cloudflare R2

Connect a Cloudflare R2 bucket — no egress fees, great for frequent backups.

4 min readStorage

Cloudflare R2 is S3-compatible with zero egress fees, making it ideal for frequent backups or large restore operations.

Step 1 — Create an R2 bucket

In Cloudflare dashboard → R2 → Create Bucket. Choose a name and location hint (optional).

Step 2 — Create an API token

In R2 → Manage R2 API Tokens → Create API Token. Set permissions to 'Object Read & Write' and scope it to your specific bucket.

Step 3 — Get your endpoint URL

The R2 endpoint follows this pattern:

https://<ACCOUNT_ID>.r2.cloudflarestorage.com

Find your account ID in the Cloudflare dashboard URL or the R2 overview page.

Step 4 — Add to VPS Snaps

In Storage → Add Destination, select S3-Compatible and fill in: your bucket name, any region string (e.g. auto), Access Key ID, Secret Access Key, and the endpoint URL from step 3.

Still stuck?

Open the failed run under Backup History and copy the error text out of the log — pasting that into your first message is usually the difference between one reply and four.