##// END OF EJS Templates
Fix port number use in dbsr
Fix port number use in dbsr

File last commit:

r3:1b46b989a9f2 v0.1.0 default
r9:5241047d77b4 v0.1.3 default
Show More
README.md
38 lines | 853 B | text/x-minidsrc | MarkdownLexer

Markei DB migrate

Script for easy DTAP for Wordpress sites

Installation

Add markei/dbmigrate to require-lines in composer.json

Run composer update

Copy the example config to {project-root}/config/dbmigrate/dbmigrate.ini

Update the configuration with your own parameters

Usage

For Windows cd {project-root} vendor\bin\dbmigrate.php.bat

The script will list the configured environments

First fill in the source environment, second fill in the destination. Check your input and start.

  1. a backup of the source database will be made.
  2. a backup of the destination database will be made.
  3. the backup of the source database will be imported by the destination database
  4. the source domain will be replaced with the destination domain in the destination database