One Time PostgreSQL S3 Backup

Backup your PostgreSQL database into a S3 bucket using Railway CRON

Deploy One Time PostgreSQL S3 Backup

onetime-pg-s3-backup

MatteoGauthier/pg-backup-s3-one-time

Just deployed

Overview

Simple template to backup in one time your PostgreSQL database using the Railway CRON feature. The code is a basic script to dump your PostgreSQL data to a file and then upload the file to S3.

Highlights

  • Runs one time, so the cost is really low
  • Use the Railway CRON feature to schedule the backup
  • Configure custom S3 URL

Usage

Fill the template environment variables and configure the CRON job in the service settings.


Template Content

More templates in this category

View Template

ReadySet

A lightweight caching engine for Postgres


View Template

Flare

A modern, lightning-fast file sharing platform built for self-hosting


View Template

EdgeDB

EdgeDB template based on their Docker deployment guide