Knowledge Base
How to Copy a Database in phpMyAdmin
Learn how to copy or duplicate a database using phpMyAdmin through a simple, built-in process. This includes accessing phpMyAdmin from your hosting control panel and using the Operations tab to create a new database with the same structure and data as an existing one. Duplicating a database can be useful for backups, testing changes, or safely making updates without impacting your original data.
- Log in to your Customer Portal.
- Go to Websites from the left navigation menu.
- Click Settings next to the website you want to manage.

- On the Website Overview page, under the Quick Links section, click the phpMyAdmin button.

- After clicking phpMyAdmin, you will be redirected to your phpMyAdmin home page.

Alternatively, you can access phpMyAdmin using the following guides based on your hosting control panel:
- In phpMyAdmin, click the database you want to copy.

- Once inside the database, select the Operations tab.

- Scroll down to the section labeled Copy database to.
- Type in the name of the new database.

- Select the structure and data to copy everything. Alternatively, you can select Structure only if you want the columns but not the data.
- Check the box CREATE DATABASE before copying to create a new database.
- Check the box Add AUTO_INCREMENT value.
- Click on the Go button to proceed.
- Click on the Home icon.

- You will notice your new database listed in the left column. If you go inside, you will see that the database is a copy of the previous database.

Related Articles
Did you find this article helpful?