Backups to Cloudflare R2
Store launchroom's encrypted backups in a Cloudflare R2 bucket. R2 has no egress fees, so restores cost nothing.
Cloudflare R2 is S3-compatible and has no egress fees, so restores cost nothing. launchroom encrypts everything with restic on your servers before upload, so R2 stores only encrypted data. This guide takes about five minutes.
Set up the bucket
Create a bucket
In the Cloudflare dashboard, open R2 Object Storage → Create bucket. Name it, for example, launchroom-backups, and leave the location on automatic.
Create an API token
Open R2 → Manage API tokens → Create API token:
- Permissions: Object Read & Write
- Specify bucket: only
launchroom-backups
Copy the Access Key ID and the Secret Access Key. The secret is shown once.
Note your account ID
Your account ID is on the R2 overview page. Your endpoint is:
https://<account id>.r2.cloudflarestorage.comAdd the destination in launchroom
Open Settings → Backups → Add destination, choose Cloudflare R2 as the storage provider, and fill in:
| Field | Value |
|---|---|
| Name | Cloudflare R2 |
| Endpoint | https://<account id>.r2.cloudflarestorage.com |
| Bucket | launchroom-backups |
| Region | auto |
| Folder (optional) | for example team-acme. One folder per team keeps repositories apart. |
| Access key ID, Secret access key | From step 2 |
Save. launchroom tests the destination right away and shows "Connected". Daily database backups start at a staggered time between 01:00 and 07:00 UTC.
Back up launchroom itself
If you are an instance owner, use a separate bucket or folder in the same page's Back up launchroom itself section for the control plane, for example the launchroom-backups bucket with the folder control-plane. Then set the recovery passphrase and download the recovery kit. See backing up launchroom itself.
Tips
- R2 lifecycle rules aren't needed. launchroom's retention deletes old data itself.
- Don't enable object lock on this bucket. Pruning needs to delete old data.
Restore and disaster recovery
Restore one database or volume in a few clicks, or bring back a whole launchroom on a new server with one command and a guided checklist.
Backups to Hetzner Object Storage
Store launchroom's encrypted backups in Hetzner Object Storage, ideally in a different location than your servers.