##// END OF EJS Templates
Show More
Commit message Age Author Refs
r12:a346af69fc54
Added tag v0.1.4 for changeset f7a3ce6ee8f7
Maarten de Keizer
0
r11:f7a3ce6ee8f7
Fix composer requirement
Maarten de Keizer
0
r10:da0a73c1bc1c
Added tag v0.1.3 for changeset 5241047d77b4
"Maarten de Keizer "
0
r9:5241047d77b4
Fix port number use in dbsr
"Maarten de Keizer "
0
r8:4228cc07e008
Added tag v0.1.2 for changeset b35097bb1d4a
Maarten de Keizer
0
r7:b35097bb1d4a
Remove version info from composer.json
Maarten de Keizer
0
r6:61d0d873179b
Added tag v0.1.1 for changeset 5770e4730996
Maarten de Keizer
0
r5:5770e4730996
Typo
Maarten de Keizer
0
r4:72e5bed47f5a
Added tag v0.1.0 for changeset 1b46b989a9f2
Maarten de Keizer
0
r3:1b46b989a9f2
Add README.md and example config
Maarten de Keizer
0
< 1 2 >

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