---
title: "Deploy PG Backup"
description: "A container for creating & uploading postgres backups to s3 compat. buckets"
category: "Automation"
url: https://railway.com/deploy/ZJn5OO
---

# Deploy PG Backup

A container for creating & uploading postgres backups to s3 compat. buckets

**[Deploy PG Backup on Railway](https://railway.com/template/ZJn5OO)**

- **Creator:** Yololeio's Projects
- **Category:** Automation

## Template content

### pg-backup

- **Image:** andriotisnikos1/pg_backup

## Documentation

This template includes a container for andriotisnikos1/pg-backup.

It allows you to input:
- S3 credentials
- (Optional) Sentry credentials
- A PostgreSQL connection URL
- A Cron schedule
- (Optional) A backup limit

Then, every time cron hits, a backup is made, and uploaded to s3. If the total backups are more than the limit, the older ones are automatically removed

## Similar templates

- [N8N Main + Worker](https://railway.com/deploy/n8n-main-worker) — Deploy and Host N8N with Inactive worker.
- [Evolution API with n8n](https://railway.com/deploy/evolution-api-with-n8n) — Automate WhatsApp workflows with Evolution API, n8n, and Postgres.
- [Postgres Backup](https://railway.com/deploy/postgres-s3-backups) — Cron-based PostgreSQL backup to bucket storage

Open this page in a browser: https://railway.com/deploy/ZJn5OO
