DEV Community

Kremilly
Kremilly

Posted on

A simple tool for automated MySQL database dumps and restores

Hey everyone! πŸ‘‹

I’ve recently built a Rust-based tool called DumpSync that allows for automatic MySQL database dumps and restores. It’s designed for easy backups, restorations, or even transferring databases between servers.

Overview

DumpSync enables scheduled MySQL database dumps at configurable intervals, saving them to a directory of your choice. You can configure it using environment variables or command-line arguments, which makes it adaptable for various use cases β€” whether you're running regular backups or managing data migration tasks.

Features:

  • Automatic dumps at specified intervals
  • Environment variable and command-line configurations
  • Saves dumps in a specified directory for easy management

PostgreSQL support is also planned for the future, so stay tuned!

Check it out on GitHub and let me know what you think! I’d love to get feedback, suggestions, or ideas for improvement. 😊

Top comments (2)

Collapse
 
jonesbeach profile image
Jones Beach

cool tool! have you been using this in your own projects? love the clean code and documentation too!

Collapse
 
kremilly profile image
Kremilly

Yes, I'm used this tool in all projects.