The open-source tool that dumps a database and restores it into the same engine or another.
Replies
Best
Maker
📌
Hi Product Hunt,
dbdr started with our own databases. We were moving terabytes between machines, running regular backups, and shifting data between ClickHouse and Postgres. The tools we had made us choose. SQL dumps were readable but huge and slow. Binary dumps were fast but didn't know that a view has to come after the table it reads from, so restores failed halfway through.
dbdr handles both:
• Dependency-ordered restores: it works out what has to exist before what, so a restore runs start to finish. The order is deterministic, so you can diff two dumps. • Smaller backups: data goes out in the engine's own binary format, then gets compressed. A 13.6 GB production ClickHouse dump came out at 1.7 GB. • Faster dumps: a production dump that took 26 minutes as SQL took 2m41s. • Cross-engine: dump from ClickHouse, restore into Postgres (or back). You pick the destination at restore time, so the two servers never need to see each other. • Secure by default: TLS with certificate verification, no passwords in shell history, owner-only files, and signed, vulnerability-scanned releases.
What it doesn't do yet: MySQL, and Postgres → SQL text dumps. Our timing numbers are for dumps only; we haven't benchmarked restores at production scale.
It's BSD-3 licensed, with a two-volume guide: one for people who want to change it, one for people who run it. Tell us what breaks on your databases.
Replies
Hi Product Hunt,
dbdr started with our own databases. We were moving terabytes between machines, running regular backups, and shifting data between ClickHouse and Postgres. The tools we had made us choose. SQL dumps were readable but huge and slow. Binary dumps were fast but didn't know that a view has to come after the table it reads from, so restores failed halfway through.
dbdr handles both:
• Dependency-ordered restores: it works out what has to exist before what, so a restore runs start to finish. The order is deterministic, so you can diff two dumps.
• Smaller backups: data goes out in the engine's own binary format, then gets compressed. A 13.6 GB production ClickHouse dump came out at 1.7 GB.
• Faster dumps: a production dump that took 26 minutes as SQL took 2m41s.
• Cross-engine: dump from ClickHouse, restore into Postgres (or back). You pick the destination at restore time, so the two servers never need to see each other.
• Secure by default: TLS with certificate verification, no passwords in shell history, owner-only files, and signed, vulnerability-scanned releases.
What it doesn't do yet: MySQL, and Postgres → SQL text dumps. Our timing numbers are for dumps only; we haven't benchmarked restores at production scale.
It's BSD-3 licensed, with a two-volume guide: one for people who want to change it, one for people who run it. Tell us what breaks on your databases.