← All guides

Backup and mount guide

How to Back Up Your Mac to Cloudflare R2: A Practical Guide That Works

Learn how to reliably back up your macOS folders to Cloudflare R2 using OurClone with encrypted, incremental backups -- no tech jargon, just practical steps.

Local-first Desktop app No command line
Overview

Cloudflare R2 is a strong option for Mac users who want S3-compatible object storage without worrying about egress fees on restores. Paired with OurClone, it becomes a practical way to keep encrypted offsite copies of important folders while avoiding repetitive full uploads. In this guide, you'll learn how to connect Cloudflare R2, create an encrypted backup repository, and protect your macOS folders with incremental backups.

Why Backing Up Your macOS Folders to Cloudflare R2 Is a Smart Move

If you want cloud backup that feels closer to object storage than a traditional sync app, Cloudflare R2 is a compelling option. It gives you S3-compatible storage with predictable pricing and no egress charges, while OurClone adds the encrypted repository and restore workflow that turn Cloudflare R2 into a real Mac backup system.

  • ๐Ÿ” Security You Control -- Cloudflare R2 uses API credentials for S3-compatible access, so you can create a token just for backups instead of reusing your Cloudflare login. OurClone then encrypts repository data on your Mac before anything is uploaded.
  • ๐Ÿ’ธ No Egress Charges on Restores -- Cloudflare's R2 pricing page lists no egress charges for either storage class. Standard storage is $0.015 per GB-month and Infrequent Access $0.01 per GB-month, and the free tier includes 10 GB-month of Standard storage each month. Infrequent Access adds a $0.01 per GB retrieval fee and a 30-day minimum, so Standard suits backups you may restore from (prices checked October 2026).
  • ๐Ÿ’ป Back Up the Folders You Choose -- OurClone backs up any macOS folders you pick, such as Documents, Pictures, or a project folder, instead of one designated sync folder.
  • ๐Ÿ“ฆ Flexible Repository Planning -- You can keep one Cloudflare R2 repository for work files, another for photos, and another for external-drive archives. That makes retention and restore decisions much easier later.
  • ๐ŸŒ Recovery from Another Mac -- Because the encrypted backup lives in Cloudflare R2, you can add the same R2 connection in OurClone on another Mac and use Create Repository on the same bucket path: OurClone detects the existing repository, checks its password, and lists your snapshots for restore.

What Is Incremental Backup and Why Does It Matter?

A full backup every time sounds safe until your data grows. Large media folders, project directories, and document archives take too long to re-upload if only a small part changed since the last run.

OurClone's backups run on restic, which splits files into chunks and uploads only chunks the repository doesn't have yet. After the first snapshot, later runs send just what changed, so backups to Cloudflare R2 stay light and quick.

Every run is saved as a snapshot, a restore point you can browse and restore from later.

  • ๐Ÿš€ Speeds up backup times by only uploading changed data
  • ๐Ÿ’พ Saves cloud storage space and bandwidth
  • ๐Ÿ” Encrypts everything on your Mac before it reaches Cloudflare R2
  • ๐Ÿ“… Keeps each run as a snapshot, so you can go back to an earlier version; Retention rules prune old snapshots

What to Know Before You Start Backing Up

A little prep makes your Cloudflare R2 backup smoother to run and easier to restore later.

  • ๐Ÿ“ Pick the Right Folders -- Back up folders with real recovery value, such as ~/Documents, ~/Pictures, source code, and client assets. Skip macOS system files, caches, and other folders that do not belong in cloud backup.
  • ๐Ÿ“ถ Make Sure Your Internet Can Handle It -- Your first upload to Cloudflare R2 is the heaviest one. A stable connection matters most at the start, while later incremental runs are usually much lighter.
  • ๐Ÿ”‘ Create the Right R2 API Token -- OurClone's folder picker starts by listing your buckets, and in R2 only the Admin permissions can list buckets; rclone also checks that the bucket exists before it writes. So create the token with Admin Read & Write. A token limited to one bucket (Object Read & Write) can't list buckets and won't work with OurClone's picker. Treat the keys like a password.
  • ๐Ÿ”’ Keep the Repository Password Safe -- The repository password encrypts your backup. Store it somewhere separate, such as a password manager: without it the backup can't be restored.
  • ๐Ÿงช Start Small -- Test with one smaller folder first so you can confirm the endpoint, the token, and the restore flow before moving larger archives into Cloudflare R2.

Watch the Cloudflare R2 Backup Tutorial

If you'd rather see the full workflow before following the written steps, this video walks through backing up local files to Cloudflare R2 with OurClone from start to finish.

How to Back Up macOS Folders to Cloudflare R2 Using OurClone

Cloudflare R2 uses S3-compatible API credentials, so you create an R2 API token in Cloudflare first (see the R2 API token docs), then connect the storage in OurClone.

  • ๐Ÿ” Connect to Cloudflare R2 via Access Keys -- Open OurClone, go to the Add tab, search for R2 and pick Cloudflare R2. Fill in a Remote Name (here cloudflare-r2), the Access Key ID and Secret Access Key from your R2 token, and the Endpoint: the field is pre-filled with https://<accountid>.r2.cloudflarestorage.com, so replace <accountid> with your Cloudflare account ID. Click Confirm and R2 appears under Manage. OurClone saves the connection without testing the keys; the first real check is when your buckets load in the next step.
  • The Authorize Access to your Cloudflare R2 dialog in OurClone with Access Key ID, Secret Access Key and Endpoint
  • ๐Ÿ—„๏ธ Create a Backup Repository -- Go to the Backup tab and click Create Repository. Give it a name (here MacBook backup), choose Cloud Remote, pick your R2 connection, and select the bucket that will hold the backup (here mac-backups) or a folder inside it. Set a repository password -- it encrypts the backup and is required to restore, so keep it safe -- and click Create.
  • Create Backup Repository dialog in OurClone with the Cloudflare R2 mac-backups bucket selected
  • ๐Ÿ“ Select Folders to Back Up -- Click Open on the repository, then New Backup. Use Choose Folders (or Choose Files) to add what you want to protect, such as ~/Documents and ~/Pictures; folders on an external disk work too. Optionally add exclude patterns, one per line. Enter the repository password -- OurClone checks it before the run starts -- and click Start Backup. With Pro, Enable Schedule repeats the backup one time, weekly, or monthly at a time you choose.
  • New Backup dialog in OurClone with the Documents and Pictures folders selected and the repository password verified
  • ๐Ÿ“Š Track Backup Progress -- Open the Task tab and switch to Backups to follow the run: progress, amount transferred, speed, and time left while it runs, then Completed. A running backup can be cancelled from here.
  • OurClone Task Center Backups tab showing the MacBook backup task completed
  • ๐Ÿ”„ Restore When Needed -- Open the repository, find the snapshot you want, and click Restore. Choose a target folder on your Mac (for example a new Restored folder), enter the repository password, and click Start Restore. The backed-up folders come back inside that folder with their structure intact. To get back a single file or folder, use Browse Files on the snapshot and restore just that item.
  • Restore Snapshot dialog in OurClone with /Users/alex/Restored as the restore target

Cloudflare R2 provides the S3-compatible storage layer, and OurClone provides the encrypted backup workflow that makes it practical for everyday Mac protection. The result is a backup setup that stays efficient after the first upload and avoids egress costs when you need to restore data later.

How to Confirm Your Backup in OurClone

Once the backup finishes, verify it before you move on. A quick check makes sure your Cloudflare R2 backup is more than just a task that appeared to succeed.

  • ๐Ÿ“„ Check Task Completion -- In Task โ†’ Backups, the latest backup should show Completed. If it failed, the task shows the error.
  • ๐Ÿงฉ Review Failed Files -- Locked files or missing permissions can leave some files out. When that happens, the task offers View failed files with their paths, so you can fix them before they become a restore surprise.
  • ๐Ÿ—‚๏ธ Look Inside the Snapshot -- Open the repository and use Browse Files on the new snapshot to confirm the folders you expected are there.
  • ๐Ÿ” Protect the Recovery Path -- Verification is not only about whether Cloudflare R2 accepted the upload. It also means making sure you still know the repository password, because that is what decrypts your backup later.

Regularly Check That Backups Are Still Running

Scheduled backups (Pro) still need occasional attention. A revoked API token or a changed endpoint can stop future Cloudflare R2 uploads even though the repository itself still exists.

Test a Restore Before You Need One

Restore one smaller folder to a temporary location and open a few files. That confirms your Cloudflare R2 connection, your repository password, and the integrity of your backup snapshots before a real recovery becomes urgent.

Summary

Backing up your macOS folders to Cloudflare R2 with OurClone uses R2 API credentials and an S3-compatible endpoint rather than browser login. Once connected, OurClone encrypts your data locally, uploads only changed content after the first snapshot, and makes restores straightforward whenever you need to recover files.

Try OurClone free

Connect your clouds, transfer across them, mount remotes as local folders, and create encrypted restic backups from one desktop app.

The macOS download is for Apple Silicon (M1 or later). Using an Intel Mac? Download the Intel version

See Free vs Pro plans →