Manage cookies that are used for advertising, such as ad personalization, remarketing, and ad effectiveness analysis.
2.6.1.16. Create database copy
In same hosting account
flowchart LR
subgraph hosting[Hosting account]
direction LR
db1[Source database]
db2[New database]
end
db1-->|""Copy
database""|db2
database""|db2
- Open the "Databases" section.
- In the database menu, click "Copy database":

- Specify the suffix of the new database name (the prefix always matches the name of the hosting account) and click "Create and copy database".
- Wait for the operation to complete.
In other hosting account
From hosting account with source database
flowchart LR
subgraph account[Account]
direction LR
subgraph hosting1[Source hosting account]
direction LR
db1[Source database]
end
subgraph hosting2[Destination hosting account]
direction LR
db2[New database]
end
db1-->|"Automatic
site transfer
(DB component)"|db2 end
site transfer
(DB component)"|db2 end
Use automatic site transfer. Select only the database from all components for the transfer.
From destination hosting account
flowchart LR
subgraph account[Account]
direction LR
subgraph hosting1[Source hosting account]
direction LR
db1[Source database]
end
subgraph hosting2[Destination hosting account]
direction LR
db2[Destination database]
end
db1-->|"Import database
(from hosting)"|db2 end
(from hosting)"|db2 end
Use import database to hosting account (the "Hosting account" option).
Universal method
Export and import dump
flowchart LR
db1[Source database]
dump[Dump]
db2[Destination database]
db1-->|Export|dump
dump-->|Import|db2
Console
flowchart LR
db1[Source database]
db2[Destination database]
db1-->|mysqldump|db2
- Connect to the hosting via SSH.
- Execute command:
mysqldump --no-tablespaces -h host1 -u login1 --password='password1' database1 | mysql -h host2 -u login2 --password='password2' database2In command:
- Instead of
host2,login2,password2anddatabase2— data for connecting to an empty database. - Password must be in single quotes.
- Wait for the command to complete.