backaid
Devaid Backup Aid Tool
Last updated 5 months ago by darkxken .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install backaid 
SYNC missed versions from official npm registry.

backaid

Devaid Backup Aid Tool

oclif Version Downloads/week License

Usage

$ npm install -g backaid
$ backaid COMMAND
running command...
$ backaid (-v|--version|version)
backaid/0.1.0 darwin-x64 node-v10.9.0
$ backaid --help [COMMAND]
USAGE
  $ backaid COMMAND
...

Commands

backaid database ACTION

Database backup service

USAGE
  $ backaid database ACTION

ARGUMENTS
  ACTION  (add|remove|list|backup) add or remove db from backup scheduler

OPTIONS
  -f, --folder=folder  folder to save backup
  -h, --help           show CLI help
  -j, --host=host      database host
  -n, --name=name      database name
  -p, --pass=pass      database user password
  -t, --port=port      database port
  -u, --user=user      database username
  --all                select all databases

DESCRIPTION
  Database backup service
  You can use crontab for schedule your backups: 
  @daily backaid database backup --all -f <folder> >> path/for/logs.log
  0 3 * * * backaid database backup -n midb -f <folder> >> path/for/logs.log

EXAMPLES
  $ backaid database add
  $ backaid database add -n mydb -p sh4r3dPass -h localhost -p 3306
  $ backaid database remove
  $ backaid database backup -f <folder>

See code: src/commands/database.ts

backaid help [COMMAND]

display help for backaid

USAGE
  $ backaid help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

Current Tags

  • 0.1.0                                ...           latest (5 months ago)

1 Versions

  • 0.1.0                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 2
Last Day 1
Last Week 0
Last Month 3
Dependencies (8)
Dev Dependencies (13)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |