Theme
Import & export
Move data in and out of NitHost-managed databases safely.
Who can use this page? Access to the database (linked site manage).
Formats by engine
| Engine | Export | Import accepts |
|---|---|---|
| MariaDB / MySQL | SQL archive | SQL dumps (panel format) |
| PostgreSQL | Custom .dmp | .dmp / .dump (pg_dump --format=custom) |
| MongoDB | Compressed archive (.gz) | Compatible mongodump archive |
Golden rules
- Export before import — restore replaces objects present in the archive
- Copy credentials once at create — you cannot re-read them later
- Treat archives as secrets (they contain customer data)
- After restore, verify app login and row counts before opening traffic
MariaDB / MySQL
- Export Archive downloads a dump
- Import Archive uploads and restores
- Unrelated objects may remain; matching objects are replaced per dump content
PostgreSQL
See PostgreSQL → Import and export for transaction, ownership, and format rules.
MongoDB
Export/import compressed archives from the Databases page. GridFS included in backups.
Move a complete site
Contact NitHost support when moving an entire site between hosting environments. A database export alone does not include site files or application configuration.