Skip to main content
Print

Cloudflare R2

Cloudflare R2 is S3-compatible object storage. Instead of a region you give your Cloudflare account ID, and the plugin builds the endpoint https://<account-id>.r2.cloudflarestorage.com. Available with Hera Backup Pro: without it the card shows a Pro badge and cannot be connected.

Connect

  1. In the Cloudflare dashboard, open R2 and create a bucket. Note your account ID, shown on the R2 overview page.
  2. Create an R2 API token with Object Read & Write access. Copy the Access Key ID and the Secret Access Key, which is shown only once.
  3. In WordPress, go to Hera Backup > Storages, find the Cloudflare R2 card, and click Connect.
  4. Enter the Access key (the Access Key ID), Secret key (the Secret Access Key), Bucket and Account ID.
  5. Click Save, then Test connection.

How many backups are kept

Max backups to keep (0 = unlimited) is counted per schedule: when a scheduled backup finishes, that schedule's older backups here beyond this number are deleted. Manual and imported backups, the recovery point and the backup last restored are never deleted automatically. See Storage Retention and Cleanup.

Table of Contents