How to refresh a MySQL database on a remote server with SCP and SSH
Pushing a fresh copy of a MySQL or MariaDB database is snap with a simple Bash script
Draft
2017-12-09 by rp
When a project is in development you often need to copy a new instance of a MySQL refresh the server's database with the latest dev copy. This post provides a couple of Bash scripts to do that easily to and from the dev computer.