Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including backaid with all npm packages installed. Try it out:

var backaid = require("backaid")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

backaid v0.1.0

Devaid Backup Aid Tool

backaid

Devaid Backup Aid Tool

oclif Version Downloads/week License

* [Usage](#usage) * [Commands](#commands) # Usage ```sh-session $ 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`](#backaid-database-action) * [`backaid help [COMMAND]`](#backaid-help-command)

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free