# Setting Up Slave with rsync

**URL:** <https://forums.percona.com/t/setting-up-slave-with-rsync/6091>\
**Category:** Other MySQL® Questions\
**Created:** [December 29, 2017, 10:23am UTC](https://forums.percona.com/t/setting-up-slave-with-rsync/6091 "2017-12-29T10:23:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaelcaplan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michaelcaplan/32/830_2.png) [@michaelcaplan](https://forums.percona.com/u/michaelcaplan)\
**Post date:** [December 29, 2017, 10:23am UTC](https://forums.percona.com/t/setting-up-slave-with-rsync/6091/1 "2017-12-29T10:23:10Z")

</div>

Hello,

I’m looking to set up a new slave and wonder about the viability of using rsync to set up the slave (see: [url][https://www.stephenrlang.com/2016/08/setting-up-mysql-master-slave-replication-with-rsync/[/url]](https://www.stephenrlang.com/2016/08/setting-up-mysql-master-slave-replication-with-rsync/%5B/url%5D))

One twist is that I’m looking to set up the new slave with a newer version of MySQL. Master is MySQL 5.6, and slave will be Percona 5.7 (or MariaDB 10.2). if a mysql\_upgrade process was thrown into the mix, how safe is this?

Thanks,

Mike

---

<div class="post-metadata">

**Author:** ![sayeedanas](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/sayeedanas/32/26_2.png) [@sayeedanas](https://forums.percona.com/u/sayeedanas)\
**Post date:** [January 11, 2018, 4:14am UTC](https://forums.percona.com/t/setting-up-slave-with-rsync/6091/2 "2018-01-11T04:14:38Z")

</div>

[michaelcaplan](https://percona.vanillacommunities.com/profile/x/x/1599) you can take a mysql dump and then rsync to new server in order to setup slave. But i would suggest if you use xtrabackup percona toolkit, it is pretty faster and reliable for large size databases if you have.  
You can setup downstream servers on newer version without any issue. MySQL → MariaDB also work fine but i doubt it would go MariaDB → MySQL, need to do few test on this.
