Exporting saves a copy of the database to a file (.sql) on your computer – before major changes or when moving a website. Importing loads such a file into a database.

Log in to cPanel – see the article “1.2. Logging in to cPanel”. Open phpMyAdmin – see the article “phpMyAdmin – how to open your databases in cPanel”.

1Export the database

Click the database on the left and open the “Export” tab at the top. Leave “Quick” and the “SQL” format, and click “Export”. Your browser will download an .sql file.

Export the database

2Import a file

Choose the database to import into (preferably a new, empty one created with Database Wizard – see the article “How to create a new database (Database Wizard)”) and open the “Import” tab. Under “File to import”, choose the .sql file (it can also be compressed, for example .sql.zip). Click “Import” at the bottom.

The maximum file size is 1024 MiB. For larger files, write to us.

Import a file

Important

  • Importing can overwrite existing tables. If you import into an existing database, export a copy of it first.
  • If you need to move a whole website (files and database), for WordPress it is easier with WP Toolkit or Softaculous – see the article “Managing Softaculous installations: backup, staging, updating and removal”.
  • Keep the exported file in a safe place – it contains all the website data, including user information.

If you run into any difficulties, just write to us and we will help. support@area.lv

Was this answer helpful? 0 Users Found This Useful (0 Votes)