Skip to main content
Create an R2 bucket and access-key pair with permissions for the objects and prefix Towbar will manage. Use the account’s R2 S3 API endpoint, not a public bucket URL. The credentials stay in /etc/towbar/towbar.yml; resource manifests choose the backup destination and policy.
/etc/towbar/towbar.yml
Run sudo towbar config validate and sudo towbar restart. R2 appears under Manage → Integrations → Backup providers after the local shape validates. Keep allowPrivateNetwork disabled for the public R2 endpoint.

Prove recovery, not just upload

Configure a managed resource’s backup policy to use R2. Create a backup, inspect its recorded object and verification state, then perform a fresh-target restore. Confirm the bucket’s lifecycle and retention settings do not delete objects before Towbar’s recovery window ends. A configured chip does not prove remote permissions or restore readiness. For failures, check the account endpoint, key scope, bucket, prefix, addressing style, and object availability. Rotate access keys in YAML, restart and verify a new backup and restore path, then revoke the old key. S3-compatible storage uses a separate integration slug and endpoint.
Cloudflare R2 integration settings in Towbar.
Cloudflare R2 integration settings in Towbar.

The R2 page shows the configured backup provider before a workload uses it.

Last modified on September 26, 2026