Database Snapshots & Restore
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
MultiDocker can dump and restore your project databases without you remembering the
right mysqldump / pg_dump incantation. The dialect is detected automatically from
the container image — MySQL/MariaDB, PostgreSQL, Redis or MongoDB.
Dumps are written under ~/.config/multi-docker/snapshots/<project>/.
Dump a single database
Section titled “Dump a single database”mdocker db dump auroramdocker db dump aurora --service db --out ~/backups/aurora.sqlThe dump is streamed out of the container per dialect:
| Dialect | Tool | Extension |
|---|---|---|
| MySQL / MariaDB | mysqldump |
.sql |
| PostgreSQL | pg_dump |
.sql |
| Redis | redis-cli --rdb |
.rdb |
| MongoDB | mongodump --archive |
.archive |
Snapshot every database
Section titled “Snapshot every database”snapshot dumps all database services of a project in one go — handy before a
migration or a risky change:
mdocker db snapshot auroramdocker db snapshots aurora # list existing snapshotsRestore
Section titled “Restore”Restore from an explicit file, or from the snapshot directory by timestamp:
mdocker db restore aurora ~/backups/aurora.sqlmdocker db restore-snapshot aurora # most recent snapshotmdocker db restore-snapshot aurora 20260101-120000Shopware note
Section titled “Shopware note”For Shopware profiles the database name, user and password are read from the shop
container’s DATABASE_URL (the db container only exposes a root password), so dumps
and restores automatically target the correct schema.
Related
Section titled “Related”Cookie-Einstellungen
Statistik-Werkzeuge setzen wir nur ein, wenn du zustimmst. Die notwendige Speicherung hält die Seite funktionsfähig; alles andere bleibt aus, bis du entscheidest.
Speichert deine Entscheidung aus diesem Dialog in deinem Browser (localStorage). Kein Cookie, keine Weitergabe an Dritte.
Google Analytics 4 über den Google Tag Manager, um die Nutzung der Seite zu messen. Wird erst nach deiner Einwilligung geladen.