Getting started with Data Transfer
Copy or replicate data between the databases of the service by creating endpoints and configuring transfers between them.
Warning
Put the transfer in the same folder with the endpoints that it connects together.
Before you start
- Go to the management console. If you aren't registered, go to the management console and follow the instructions.
- On the Billing, make sure that a billing account is linked and that its status is
ACTIVE
orTRIAL_ACTIVE
. If you don't have a billing account, create one. - If you don't have a folder, create one.
- On the Access management page, make sure you have the
editor
role or higher. The role must be assigned for the folder where you'll work or the cloud that the folder belongs to.
Create a source endpoint
- In the management console, select the folder to create an endpoint in.
- In the list of services, select Data Transfer.
- Click Create endpoint.
- In the window that opens, make sure that the Direction field is set to Source.
- Enter the Name of the endpoint.
- (optional) Enter a Description of the endpoint.
- Select the Database you want to transfer data from.
- Under Endpoint parameters:
-
If you selected Managed Service for MySQL® or Managed Service for PostgreSQL, specify:
- ID of the MySQL or PostgreSQL cluster to transfer data from.
- DB username.
- DB user password.
- (optional) Other parameters.
-
If you selected MySQL or PostgreSQL, specify:
- IP or FQDN of the host to transfer data from.
- DB username.
- DB user password.
- (optional) Other parameters.
-
- Click Create.
Create a target endpoint
To create an endpoint for the target database:
- In the management console, select the folder to create an endpoint in.
- In the list of services, select Data Transfer.
- Click Create endpoint.
- In the window that opens, make sure that the Direction field is set to Target.
- Enter the Name of the endpoint.
- (optional) Enter a Description of the endpoint.
- Select the Database you want to transfer data to.
- Under Endpoint parameters:
-
If you selected Managed Service for MySQL or Managed Service for PostgreSQL, specify:
- ID of the MySQL or PostgreSQL cluster you want to transfer data to.
- DB username.
- DB user password.
- (optional) Other parameters.
-
If you selected MySQL or PostgreSQL, specify:
- IP or FQDN of the host to transfer data to.
- DB username.
- DB user password.
- (optional) Other parameters.
-
- Click Create.
Create a transfer
To create a transfer between the two databases:
- In management console, select the folder to create a transfer in.
- In the list of services, select Data Transfer.
- Select the Transfer tab.
- Click Create transfer.
- In the window that opens, select the source database Endpoint under Source.
- Select the target database Endpoint under Target.
- Under Transfer parameters:
- Enter the transfer Name.
- Select the Type of transfer.
- (optional) Enter the transfer Description.
- Click Create.
Activate the transfer
To activate the transfer:
- In management console, select the folder to create a transfer in.
- In the list of services, select Data Transfer.
- Select the Transfer tab.
- In the window that opens, click the icon.
- In the menu that opens, click Activate.