Deploy Bucket Sync

Sync files from one bucket to another, using rclone

Deploy Bucket Sync

Just deployed

Deploy and Host Bucket Sync on Railway

A service using rclone which runs once and syncs all files from a source bucket to a destination bucket. Can be used once to transfer files to a new bucket, or regularly with a cron to backup buckets.

For a better experience when entering the necessary configuration variables, deploy this template from your existing project (Create -> Template -> Search "Bucket Sync").

About Hosting Bucket Sync

This template assumes you have 2 buckets already created:

  • a source bucket, where the files are stored
  • a target bucket, where the files should be synced to

Create the target bucket before deploying this template, if it doesn't yet exist.

When you configure and deploy this template, it will start to sync your files. You can add a cron schedule if you want to sync it regularly.

⚠️ Files are synced using public networking, so the upload from the service to the new bucket counts as billable service egress.

Common Use Cases

  • Migrate buckets
  • Move a bucket to a different region
  • Backup a bucket

Dependencies for Bucket Sync Hosting

  • You need 2 buckets: the source bucket where your files are located, and a destination bucket where the files should be copied to (e.g. a new empty bucket)

Deployment Dependencies

This template uses rclone's official docker image.

Why Deploy Bucket Sync on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Bucket Sync on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Postgres-to-R2 Backup
Auto back up PostgreSQL databases to Cloudflare R2 with optional encryption

View Template
ReadySet
A lightweight caching engine for Postgres

View Template
Simple S3
Deploy a S3-compatible storage service with a pre-named bucket.