Backup & Restore Databases
Backup & Restore Databases
There are several ways to make a copy of a database in VinzaPanel. Pick the one that fits the job.
| You want to… | Use | Engines |
|---|---|---|
| Download a dump right now, or load one in | Export / Import on the database page | MySQL, MariaDB |
| Keep regular copies on the server, restore with one click | Backups (Only Database or Website and DB) | MySQL, MariaDB, PostgreSQL (Only Database) |
| Schedule dumps from the engine's own page (administrators) | Scheduled Dumps in the MariaDB app, Scheduled dumps in the PostgreSQL app | MariaDB, PostgreSQL |
| Make a one-off PostgreSQL archive in a folder of your choice | The PostgreSQL app (pg_dump / pg_restore) | PostgreSQL |
Quick export and import
- Open Databases and click the database.
- On the Backup / Restore tab, choose Export as
.sqlor.sql.gzand click Export to download it. - To load a dump, drop a
.sqlor.sql.gzfile (max 50 MB) on Import.

Import executes every statement in the file against the database, so existing data may be overwritten. The import runs as the database's own user, so statements aimed at other databases fail.
Backups of a database
- Go to Backups (
/backups/) and click Create Backup. - Choose Only Database and the database, then Start Backup. The backup runs in the background: a consistent
mysqldumpfor MySQL and MariaDB, or apg_dump(custom format) for PostgreSQL, gzip-compressed. - To include the site files too, choose Website and DB instead: the archive holds the website's files plus every MySQL/MariaDB database linked to that website.
Archives are stored in the owner's home under /home/<user>/backups/databases/<database>/ as <database>_<YYYYmmdd-HHMMSS>.sql.gz (PostgreSQL: .dump.gz). For daily or weekly copies, create an automatic backup on the same page. A database on a node is backed up on that node.
Restore
Click Restore on a finished backup. The dump is imported with the database's own account. For MySQL and MariaDB, each table in the archive replaces the current one; tables created since the backup stay. For PostgreSQL, pg_restore runs in one transaction (all or nothing) and drops and re-creates the objects in the dump. The database must still exist in the panel, be of the same engine, and the panel must know its password (set it on the database page if it was adopted by Reconcile).
See Backups for schedules, retention and restore details, and Off-site Backups to keep copies away from the server.
Scheduled dumps from the engine page
Administrators can also schedule dumps per database from the engine's app: Databases → MariaDB → Scheduled Dumps (daily or weekly, at a chosen hour, keeping the newest N) or Databases → PostgreSQL → Scheduled dumps. Both run through the panel's backup scheduler, so the archives belong to the database owner and appear on their Backups page. Only databases registered on the Databases page can be scheduled.
PostgreSQL databases
The Export / Import tab handles MySQL and MariaDB only, and PostgreSQL databases linked to a website are skipped in a Website and DB archive — back them up with Only Database. For manual archives, use the PostgreSQL app (Databases → PostgreSQL, /apps/postgresql/):
- Backup runs
pg_dump -Fcinto a compressed custom-format archive (default folder/var/backups/postgresql). - Restore runs
pg_restoreinto a target database, which is created if it does not exist; you can choose to drop existing objects first (--clean --if-exists).
