bizfly-backup

command module
v1.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

README

bizfly-backup

BizFly Cloud backup service.

Building

$ go build
$ ./bizfly-backup
BizFly Cloud backup agent is a CLI application to interact with BizFly Cloud Backup Service.

Usage:
  bizfly-backup [flags]
  bizfly-backup [command]

Available Commands:
  agent         Run agent.
  backup        Perform backup tasks.
  cleanup-cache Remove old cache directories.
  help          Help about any command
  restore       Restore a backup.
  upgrade       Upgrade bizfly-backup to latest version.

Flags:
      --config string   config file (default is $HOME/.bizfly-backup.yaml)
      --debug           enable debug (default is false)
  -h, --help            help for bizfly-backup

Use "bizfly-backup [command] --help" for more information about a command.

Agent

Help

$ ./bizfly-backup agent --help
Run agent.

Usage:
  bizfly-backup agent [flags]

Flags:
      --addr string   listening address of server. (default "http://localhost:9000")
  -h, --help          help for agent

Global Flags:
      --config string   config file (default is $HOME/.bizfly-backup.yaml)
      --debug           enable debug (default is false)

Running

$ ./bizfly-backup agent --debug=true --config=./conf/agent.yaml
2020-06-08T09:14:26.552+0700	INFO	cmd/root.go:96	Using config file: ./agent.yaml
2020-06-08T09:14:26.559+0700	DEBUG	cmd/agent.go:50	Listening address: http://localhost:9000

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL