Back up rancher 1.6 configuration to mysql

Hi

I am running an instance of rancher 1.6 and I was wondering if someone could suggest what are all the steps to take to back it up so i can recreate it in another machine.

What I have:

  • instance of rancher 1.6 as per Installing Rancher Server
  • i have a bunch of mysql etc configuration I can run and handle fine but the above rancher config is withing the single node container

What I would like to do:

  • back up the config from the above setup
  • load it in a mysql db as per docs Installing Rancher Server
  • then i will run rancher using the external db instead of an internal config

I look forward to your suggestions

Found this article, i think it should help