All Templates / Automation
PG Backup
A container for creating & uploading postgres backups to s3 compat. buckets
pg-backup
andriotisnikos1/pg_backup
Just deployed
This template includes a container for andriotisnikos1/pg-backup.
It allows you to input:
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
Template Content
pg-backup
andriotisnikos1/pg_backupNODE_ENV
"development" | "production" (optional: defaults to "production")
S3_BUCKET
Backups Configuration
S3_REGION
SENTRY_DSN
required if SENTRY_ENABLED=true
S3_ENDPOINT
POSTGRES_URL
required
S3_AUTH_KEY_ID
S3_AUTH_SECRET
SENTRY_ENABLED
"true" | "false"
SENTRY_MONITOR_SLUG
required if SENTRY_ENABLED=true
BACKUPS_CRON_SCHEDULE
"0 0 * * *" (required)
BACKUPS_MAX_KEEP_COUNT
the number of latest backups to keep (defaults to 5)
BACKUPS_USE_PG_DUMPALL
BACKUPS_FILE_IDENTIFIER
optional
Details
Yololeio's Projects
Created on Apr 16, 2025
0 total projects
Automation
More templates in this category
Postgres S3 backups
A simple NodeJS app to back up your PostgreSQL database to S3 via a cron
Railway Templates
821
Tier
A single tool to configure,orchestrate and manage your entire pricing stack
beuz's Projects
17
Trigger.dev
Open source background jobs framework for TypeScript.
Jan Henning's Projects
118