Open Source CLI Tool

Database BackupsMade Simple

Skip the pg_dump syntax lookup. dbmux gives you simple commands with smart defaults, automatic history tracking, and organized dump files.

Terminal
$ dbmux connect --url postgresql://localhost:5432/myapp
Connected to myapp (PostgreSQL 16.2)
$ dbmux dump create
Dumping myapp... done (14.2 MB)
Saved to ~/.dbmux/dumps/myapp_2024-03-15.dump
$ dbmux history list
# Database Size Date
1 myapp 14.2 MB 2024-03-15 14:30
2 myapp 13.8 MB 2024-03-14 09:15
$

See it in action

From painful pg_dump commands to simple backups in seconds

dbmux demo

Everything you need

Powerful features for efficient database management

One-Command Backups

Just run dbmux dump create. Smart defaults handle format, compression, and naming automatically.

Automatic History

Every backup tracked with timestamp, size, and status. Never lose track of your dumps again.

Instant Restore

Run dbmux restore run and pick from history or specify a file. Create target database automatically.

Managed Dump Files

All dumps organized in ~/.dbmux/dumps/. List, delete, and manage everything from the CLI.

Multi-Connection

Save multiple database connections. Switch between dev, staging, and prod instantly.

Query When Needed

Run SQL queries too. Output as table, JSON, or CSV format for easy integration.

Get started in seconds

Install dbmux with your preferred method

Install
$ curl -fsSL https://raw.githubusercontent.com/bhagyamudgal/dbmux/main/install.sh | bash

Recommended: Quick Install handles all dependencies automatically

> Linux x64> macOS Intel> macOS ARM> Windows x64

How it works

Get up and running in four simple steps

[1]Connect

Save once, use forever

$dbmux connect
1
[2]Create Backup

One command, smart defaults

$dbmux dump create
2
[3]View History

See all your backups

$dbmux history list
3
[4]Restore Anytime

Pick from history, done

$dbmux restore run
4