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

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.

ubuntu mariadb mysql devops

Git cheatsheet

A list of my Git use cases and aliases

devops git