Skip to content
Dashboard
  1. In the Cloudflare dashboard open R2 and create a bucket, for example vantuly-backups.
  2. Copy your Account ID from the R2 overview page.
  3. Open Manage R2 API tokens and create a token with Object Read & Write, limited to that bucket.
  4. Copy the Access Key ID and Secret Access Key. The secret is shown only once.
  1. Go to Settings → Storage → Add storage and pick Cloudflare R2.
  2. Paste the Access key ID and Secret access key, and enter the Bucket.
  3. Enter the Account ID. The region stays auto.
  4. The Endpoint is filled in for you: https://<ACCOUNT_ID>.r2.cloudflarestorage.com.
  5. Optionally set a Folder inside the bucket. Each server gets its own folder inside it.
  6. Click Test connection, then save.

Then turn on backups for your sites.

R2 has no egress fees, so restores cost nothing extra.