Move mountains of SQL data.
Go to file
Nils Norman Haukås bbbb67a7f6 add nogithub badge 2024-01-22 19:43:22 +01:00
src bugfix: move away from promisifying exec 2018-05-21 22:04:44 +02:00
.env-example initial commit 2018-05-20 16:31:59 +02:00
.gitignore initial commit 2018-05-20 16:31:59 +02:00
.npmignore add .npmignore file, but allow dist/ folder to be published 2018-05-20 16:41:01 +02:00
.travis.yml initial commit 2018-05-20 16:31:59 +02:00
CHANGELOG.txt initial commit 2018-05-20 16:31:59 +02:00
LICENSE.txt initial commit 2018-05-20 16:31:59 +02:00
README.md add nogithub badge 2024-01-22 19:43:22 +01:00
package-lock.json 1.0.3 2018-06-03 11:38:26 +02:00
package.json 1.0.3 2018-06-03 11:38:26 +02:00
tsconfig.json initial commit 2018-05-20 16:31:59 +02:00

README.md

HAMSTR

Please don't upload to GitHub

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

  1. Copy .env-example into .env and fill out credentials.
  2. Run hamstr mysqldump --tunnel prod to download the database target PROD defined in the .env file.
  3. Run hamstr --help to get a functionality overview.

Development and test

Not many tests yet, but we have Typescript.

  1. Run npm test to trigger typescript build.
    • Run npm build -- --watch to start a auto-compiling process which builds on file save.

License

Project code is licensed under the MIT license, see license.