Limited time promo

How to backup to Cloudflare R2 using Backup4all

English en

This article applies only to Backup4all. If you don't have it yet, you must download it first.

Download now Buy licenses
Feb 02, 2023


We strive to keep our articles as accurate as possible. If you notice any inconsistencies or outdated info please let us know.
Cloudflare R2 is an S3-compatible, zero egress-fee, globally distributed object storage. Move data freely and build the multi-cloud architecture you desire.
Steps to follow when creating a backup to Cloudflare R2 using Backup4all:
  1. Create an account or login on Cloudflare.
    Acess this webpage and follow the steps to create a new account on Cloudflare: https://dash.cloudflare.com/sign-up
    Back up to Cloudflare
  2. Go to R2 page from the left column.
    Cloudflare offers an S3 compatible storage solution.
    Back up to Cloudflare
  3. Press Manage R2 API Tokens link, from the top right side, to create a new API Token.
    You will need to select an expiration date for that token.
    Back up to Cloudflare
    You will get the Access Key ID and the Secret Access Key. Use them with the Account ID in Backup4all when you define the Cloudflare destination.
  4. Open Backup4all and press New button to create a new backup job.
    That will open the New Backup Wizard.
    Back up to Cloudflare
  5. On Destination page, select Online destination type and select S3 Compatible->Cloudflare as S3 server.
    There you have to enter the above Access Key, Secret Access Key ID and Account ID.
    Back up to Cloudflare
  6. Type a new bucket name and press Create, or use an existing bucket name.
    Optionally you can also use a folder name for destination backup. Then press Next
    Back up to Cloudflare
  7. On Sources page, select the files you want to back up. Then press Next.
    You can add local sources, network source, plugins or even cloud sources.
    Back up to Cloudflare
  8. On Filters page, you can add include or exclude filters for sources. Then press Next.
    You can use file or folder filter masks to back up only the files you want.
    Back up to Cloudflare
  9. On Type page, select the backup type you want to use and press Next.
    On this page you can also enable the encryption for your backup files.
    Back up to Cloudflare
  10. On Scheduler page you can set the backup to run automatically. Then press Next.
    On this page you can also enable the email notifications.
    Back up to Cloudflare
  11. On Job page you can enter the name for the backup job. Then press Save -> Save and run.
    You can also add a description for that job in the corresponding text area.
    Back up to Cloudflare