All Templates / Automation

Backup MySQL to Cloudflare R2

Backup MySQL to Cloudflare R2

Run a single backup of a MySQL database to Cloudflare R2

Deploy Backup MySQL to Cloudflare R2

rclone-mysql-backup

dbanty/rclone-mysql-backup

Just deployed

This container runs a single time, backing up a MySQL database to Cloudflare R2. To set up properly:

  • Disable restarts
  • Set a Cron schedule to back up as often as you'd like in settings

Internally, this uses mydumper to dump the database quickly (saving you compute cost over mysqldump) and rclone to sync the data with a folder in an R2 bucket.

You can modify the generated rclone config to support virtually any other target for the backup.


Template Content

rclone-mysql-backup

dbanty/rclone-mysql-backup
Deploy Now

Details

Created on Mar 19, 2024

2 total projects

0 active projects

Shell, Dockerfile

Automation



More templates in this category

View Template
Postgres S3 backups

Postgres S3 backups

A simple NodeJS app to back up your PostgreSQL database to S3 via a cron


Railway Templates

View Template
Tier

Tier

A single tool to configure,orchestrate and manage your entire pricing stack


View Template
Trigger.dev

Trigger.dev

Open source background jobs framework for TypeScript.


Jan Henning