Easiest method:
If you prefer migrating the existing installation:
Master - Slave
Note that the slave has the master database name recorded in the database. In practice, this means the following: when transferring, you need the master database name to not change. If it does change, then after transferring the slave, you need to manually enter the slave database and change the linked_db values in the rot_settings table.