DOCS

Importing and exporting a database

How to back up a database to an .sql file and restore it on a new server.

Posodobljeno 05.10.2026. 2 min branja

An export creates an .sql file with the structure and data. An import loads it into an empty or existing database, which is the main step when moving a site.

Export#

  1. Open Databases → phpMyAdmin and click the database in the left column.
  2. Click the Export tab.
  3. Leave Quick and the SQL format, then click Export.
  4. Your browser downloads an .sql file. Keep it safe.

Import#

  1. First create an empty database and user: New MySQL database.
  2. In phpMyAdmin click the new database, then the Import tab.
  3. Click Choose File, select the .sql (or .sql.zip/.sql.gz) and click Import.
  4. When finished you see a green message and the tables appear in the left column.

Large databases#

If an import is interrupted by a size or time limit, compress the file (.zip or .gz) or send us a ticket and we will do the import for you. Limits depend on your plan.

You can also restore the whole account from a backup: Restoring from a backup.

Vam je bil ta članek v pomoč?

Sorodni članki

Still need a hand?

Open a ticket and we will reply by email. The whole team sees your request.