DEV Community

Cover image for ๐Ÿš€ Automate Your PostgreSQL Backups with Ease! ๐Ÿณ
Jackson Kasi
Jackson Kasi Subscriber

Posted on

2 2 1 1 1

๐Ÿš€ 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 โ€ข

๐Ÿ™Œ