myss
v0.0.9
Published
MySQL Database Snapshot Tool
Downloads
7
Readme
myss
using the "mysqldump" command, a simple snapshot tool.
Install
$ npm install -g myss
ENV
| name | description | default | |:-----|:------------|:--------| | MYSS_HOME | myss home directory | ~/.myss |
Examples
add snapshot.
$ myss add <database name> <snapshot name>
replace snapshot.
$ myss replace <database name> <snapshot name>
list managed databases.
$ myss list
list snapshots.
$ myss list <database name>
use snapshot.
$ myss use <database name> <snapshot name>
delete snapshot.
$ myss delete <database name> <snapshot name>
delete managed database.
$ myss delete <database name>
Configuration
| name | description | default | |:-----|:------------|:--------| | mysqldump_options | mysqldump command option | -u root | | mysql_options | mysql command option | -u root | | auto_replace | replace automatically, at "use" command | false |
display all config.
$ myss config
show config.
$ myss config <name>
set config.
$ myss config <name> <value>