[Yandex Cloud documentation](../../index.md) > [Yandex Managed Service for MySQL®](../index.md) > FAQ > Migration/transfer

# Migration/transfer

* [How do I transfer data to a cluster?](#to-cluster)

* [How do I move a cluster to a different folder or cloud?](#to-folder-cloud)

* [External replication error](#external-replication-error)

#### How do I transfer data to a cluster? {#to-cluster}

Follow the steps described in [this tutorial](../tutorials/data-migration/index.md).

#### How do I move a cluster to a different folder or cloud? {#to-folder-cloud}

To move a cluster:
* To a different folder: [Restore the cluster from a backup](../operations/cluster-backups.md#restore). Specify the target folder when configuring the new cluster.
* To a different cloud: Follow the steps in [this tutorial](../tutorials/data-migration/index.md).

#### External replication error {#external-replication-error}

Error message:

```text
Last\_IO\_Error: 
Got fatal error 1236 from source when reading data from binary log: 
'Could not find first log file name in binary log index file'
```

This error may occur during external replication using the [master host's specific FQDN](../operations/connect/fqdn.md#fqdn-master) if the master host in the source cluster has changed.

**Solution:**

1. Restart replication.
1. Run this command once:

   ```sql
   STOP SLAVE;
   CHANGE MASTER TO MASTER_AUTO_POSITION = 1;
   START SLAVE;
   ```

If the master host in the source cluster changes, the replication will be reconfigured to use the new master host. Read more about the setting in [this MySQL® guide](https://dev.mysql.com/doc/refman/8.0/en/change-master-to.html).