Move mountains of SQL data.
| src | ||
| .env-example | ||
| .gitignore | ||
| .npmignore | ||
| .travis.yml | ||
| CHANGELOG.txt | ||
| LICENSE.txt | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
HAMSTR
Move mountains of SQL data.
Features
- Run mysqldump through a ssh tunnel.
Installation
Global installation: npm i -g hamstr
Project installation: npm i hamstr
Usage
- Copy
.env-exampleinto.envand fill out credentials. - Run
hamstr mysqldump --tunnel prodto download the database targetPRODdefined in the .env file. - Run
hamstr --helpto get a functionality overview.
Development and test
Not many tests yet, but we have Typescript.
- Run
npm testto trigger typescript build.- Run
npm build -- --watchto start a auto-compiling process which builds on file save.
- Run
License
Project code is licensed under the MIT license, see license.