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-example
into.env
and fill out credentials. - Run
hamstr mysqldump --tunnel prod
to download the database targetPROD
defined in the .env file. - Run
hamstr --help
to get a functionality overview.
Development and test
Not many tests yet, but we have Typescript.
- Run
npm test
to trigger typescript build.- Run
npm build -- --watch
to start a auto-compiling process which builds on file save.
- Run
License
Project code is licensed under the MIT license, see license.