r/coolgithubprojects • • 1h ago

ChronoBase: Free Rust desktop and CLI app to back up, encrypt, and restore Postgres, Mongo, MySQL, SQLite, and Redis

Post image

Hi, I made a free, MIT-licensed Rust app called ChronoBase that might save you some headache if you deal with database backups and restores.

It works on Windows, macOS, and Linux out of the box (around 10.75 MB binary, no cloud account needed). You can schedule dumps, encrypt them locally, restore single tables or collections, migrate between two databases, or push offsite to S3-compatible storage.

GitHub: https://github.com/Subham-Maity/chronobase

1 Upvotes

2 comments sorted by

1

u/kantorcodes1 40m ago

Very few backup utilities support being able to restore a single table out of a complete dump. If that table has foreign key constraints to tables you're not restoring, how does ChronoBase deal with those?

1

u/subham440 30m ago

Good question. It does not bypass foreign key checks automatically because silently disabling constraints on a live database can leave orphaned rows and break data integrity. Instead, you can include the related tables together in the restore or restore that single table into a separate database first so you do not touch live constraints.