s3 and r2 integration slugs with the same field
model. Use s3 for another S3-compatible service and r2 for Cloudflare R2.
S3-compatible storage
TOWBAR_S3_ADDRESSING_STYLE to the mode required by the service. Keep
private-network access disabled unless the endpoint intentionally resolves to a
private address. A private CA can be supplied as Base64 through
TOWBAR_S3_CUSTOM_CA_BASE64.
Cloudflare R2
sudo towbar config validate, then sudo towbar restart. The corresponding
provider appears only when its enabled configuration is complete. Test a backup
and restore with the intended prefix, retention, versioning, and encryption
policy. Rotate keys by applying the new environment values, verifying a real
operation, and then revoking the old key.
See Database backups and the environment variable
guide.