Download database from remote server

This is a simple bash script that I use in order to download the database from the production site to the staging site. You must to complete the variables at the begin of the script and replace “jenkins” with the owner user of your project.

Create the following script and run it as root user.


Leave a comment