• Home
  • About
  • Contact
  • Links
  • Snippets
  • Account
     Login  Register
 

rogerpence.com

nerdy things

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.

ubuntu mariadb mysql devops

Tags

.net ajax bash devops fonts git javascript laravel mariadb mysql php programming recipe ubuntu virtualbox visual studio code webdev