Deploy mongo-s3-backup

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

Deploy mongo-s3-backup

Just deployed

Overview

The template uses node-cron or Railway cron, written in TypeScript to dump your MongoDB data to a file and then upload the file to S3.

Highlights

Configurable backup schedule: By default, the cron runs at 00 AM every day but is configurable via the BACKUP_CRON_SCHEDULE environment variable.

Support for custom buckets: The script also supports using a AWS_S3_ENDPOINT environment variable to use any S3 compliant storage bucket.

Configuration

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_S3_BUCKET
  • AWS_S3_REGION
  • BACKUP_MONGO_URI
  • BACKUP_CRON_SCHEDULE
  • AWS_S3_ENDPOINT

Template Content

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
51
View Template
Foundry Virtual Tabletop
Self-hosted virtual tabletop for role-playing games (license required)

Lucas
71
View Template
NEW
Double Commander in your browser
The Double Commander file manager in the cloud, from any device

Nermin Sabanovic
0