Loading...

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.

  1. Log in to your Customer Portal.
  2. Go to Websites from the left navigation menu.
  3. Click Settings next to the website you want to manage.

    Edit Site button

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

    phpMyAdmin

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

    phpMyAdmin home page

    Alternatively, you can access phpMyAdmin using the following guides based on your hosting control panel:

  3. In phpMyAdmin, click the database you want to copy.

    cPanel - Select the database

  4. Once inside the database, select the Operations tab.

    phpMyAdmin - Operations tab

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

    cPanel - Type in New Database Name

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

    phpMyAdmin - Home icon

  12. 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.

    cPanel - New Database

How can we help you? Please contact us via phone or chat if you need assistance.

Loading...