Clone Database
Copy an existing MySQL/MariaDB database into a new database, with its own user, for any hosting account on your server.
| Location | Home » Backup » Clone Database |
| Category | Backup |
| Required fields | MySQL Database, Domain, Database Name, Database Username, Password |
| Command line | /go/copydb |
| Last updated | 2026-11-22 |
On this page: Overview · Quick start · Fields · Troubleshooting · Details · See also
Overview
Clone Database makes a duplicate of a database. You choose the database to copy, then choose the account that will own the copy and give the copy a name, a user, and a password. The original database is not changed.
This is useful when you want to:
- clone a website onto a test or staging domain
- move a database to another hosting account
- make a working copy before you try a risky change
The page is a form with two parts: Copy From and Copy To.
[!IMPORTANT] This page copies the database only. It does not copy the website's files. To copy files, use Clone Files.
[!TIP] You can also copy a database from a terminal. See Copy a Database from the Command Line.
Quick start
- Go to Backup » Clone Database.
- Under Copy From, choose the MySQL Database you want to copy.
- Under Copy To, choose the Domain that will own the new database.
- Enter a Database Name and a Database Username for the copy.
- Enter a Password.
- Click Copy.
The new database appears on the MySQL Databases page.
Fields
Copy From
| Field | Required | Default | Notes |
|---|---|---|---|
| MySQL Database | Yes | First database in the list | The database to copy. Each entry shows the database name and the domain that owns it, for example shop (example.com). |
Copy To
| Field | Required | Default | Notes |
|---|---|---|---|
| Domain | Yes | First domain in the list | The hosted domain that will own the new database. |
| Database Name | Yes | Empty | The name of the new database. Max 100 characters. Use a name that doesn't exist yet. |
| Database Username | Yes | Empty | The user for the new database. Max 100 characters. |
| Password | Yes | None | The new user's password. Hidden as you type. Must meet the password rules. Max 100 characters. |
Password rules
The form accepts a password only if it has all of these:
- at least 8 characters
- at least one lowercase letter
- at least one uppercase letter
- at least one number
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| The list under MySQL Database is empty | There are no databases on the server yet. | Create one on the MySQL Databases page first. |
| The password is rejected | It doesn't meet the password rules. | Use at least 8 characters with a lowercase letter, an uppercase letter, and a number. |
| The copy fails | A database or user with that name already exists. | Choose a different Database Name and Database Username. |
| The copied website still uses the old database | The site's settings still point to the original database. | Update the database name, user, and password in the site's configuration file. |
| The copied website has no files | Only the database was copied. | Copy the files with Clone Files. |
| The copy takes a long time | The database is large. | Wait for it to finish. |
| You can't find the new database | It belongs to the domain you chose under Copy To. | Check that domain on the MySQL Databases page. |
Details
Copy a Database from the Command Line
Every admin action in GoAdmio is also available as a /go/... command. To copy an existing database into a new database and user for a hosting account on this server, from a terminal or a script, use the copydb command:
/go/copydb
For the full syntax, arguments, and examples, see the command reference: https://www.goadmio.com/commands/copydb
Available in the Admin panel
Clone Database is part of the Admin panel. It does not appear in the User panel.
Cloning a whole site
A website usually has files, a database, and email. To clone all of it:
| Part | How to copy it |
|---|---|
| Database | This page |
| Website files | Clone Files |
| Whole account | Backup Wizard and Restore Full Backup |
After copying
| Task | Page |
|---|---|
| See the new database and its owner | MySQL Databases |
| Browse or edit the data | phpMyAdmin |
| Repair damaged tables | Repair MySQL Database |
See also
| Page | Description |
|---|---|
| MySQL Databases | Create and manage databases |
| Clone Files | Copy a site's files to another account |
| Backup Wizard | Create a backup of an account |
| Restore Full Backup | Restore an account from a backup |
| SQL Importer | Load an SQL file into a database |
| phpMyAdmin | Browse and edit databases |
| Adminer | Lightweight database manager |
| Repair MySQL Database | Repair damaged tables |
| Database Map Tool | Map database tables |