npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

backaid

0.1.0 • Public • Published

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

Keywords

install

npm i backaid

Downloadsweekly downloads

1

version

0.1.0

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability