NMIG is an app, intended to make a process of migration from MySQL to PostgreSQL as easy and smooth as possible.
1. Create a new database.
Sample: CREATE DATABASE my_postgresql_database;
2. Download NMIG package and put it on the machine running your PostgreSQL (not mandatory, but preferably).
Sample: /path/to/nmig
3. Edit configuration file located at /path/to/nmig/config.json
with correct details.
4. Go to nmig directory, install dependencies, and run the app
Sample:
$ cd /path/to/nmig
$ npm install
$ npm start
5. If a disaster took place during migration (for what ever reason) - simply restart the process
$ npm start
NMIG will restart from the point it was stopped at.
6. At the end of migration check log files, if necessary.
Log files will be located under "logs_directory" folder in the root of the package.
Note: "logs_directory" will be created during script execution.
7. In case of any remarks, misunderstandings or errors during migration,
please feel free to email me
anatolyuss@gmail.com
Current version is 3.1.0
(major version . improvements . bug fixes)
Errors/Exceptions are not passed silently.
Any error will be immediately written into the error log file.
NMIG is available under "GNU GENERAL PUBLIC LICENSE" (v. 3)
http://www.gnu.org/licenses/gpl.txt.