• 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

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 .net-new ajax bash css dapper debugging design devops django docker es6 firefox fonts git javascript laravel mariadb mysql nginx node npm parcel php powershell programming python recipe regex rp-blog ssl terminal ubuntu ui virtualbox visual studio code vscode webdev webpack xdebug zsh