Modify restore script to support remote dbs
Posted: Mon Aug 14, 2017 2:28 pm
Hey guys is it possible to modify the restore script so that it will restore db's hosted on a different server?
for instance my Prod server has an offloaded mysql db hosted on Remotedbsvr.
If I run the restore script, I would like to have the script restore the mysqldb to Remotedbsvr.
I already have ssh passwordless login enabled on both servers.
Thanks!
for instance my Prod server has an offloaded mysql db hosted on Remotedbsvr.
If I run the restore script, I would like to have the script restore the mysqldb to Remotedbsvr.
I already have ssh passwordless login enabled on both servers.
Thanks!