DEV Community

Cover image for πŸš€ Automate Your PostgreSQL Backups with Ease! 🐳
Jackson Kasi
Jackson Kasi Subscriber

Posted on

πŸš€ Automate Your PostgreSQL Backups with Ease! 🐳

Simplify your database management with a robust system for backup and restore using Deno, Docker, and Cloudflare R2. 🐳

✨ Key Features:

  • Automated Backups: Schedule via cron or run on-demand.
  • Seamless Restores: From local files or directly from R2.
  • Cloud Integration: Effortlessly upload and manage backups in Cloudflare R2.

πŸ”§ Get Started:

  1. Clone the repo: postgres-r2-backup.
  2. Set up your .env file with the required details.
  3. Run: deno task run:backup or deno task run:restore.

πŸ’‘ Extend It: Add any features you needβ€”like schema-specific restores or custom retention policies.

Start now and make database management hassle-free! πŸš€

Top comments (5)

Collapse
 
thesohailjafri profile image
Sohail SJ | TheZenLabs •

this could be done any other DBs right like mongo or mysql?

Collapse
 
jacksonkasi profile image
Jackson Kasi •

As of now, it supports only PostgreSQL.
Okay, let me work on adding support for MySQL and MongoDB soon. I’ll also provide an update. :)

I’ll add this to the to-do list:

To-Do List

Collapse
 
thesohailjafri profile image
Sohail SJ | TheZenLabs •

Watching the repo

Collapse
 
thesohailjafri profile image
Sohail SJ | TheZenLabs •

Staring the repo!

Collapse
 
jacksonkasi profile image
Jackson Kasi •

πŸ™Œ