cloudbackup-cli

command module
v0.0.0-...-b10b9e3 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

README

Binlogic CloudBackup Cli

License


CloudBackup is a tool to orchestrate MySQL, MariaDB, MongoDB and PostgreSQL Backups in the Cloud.

cloudbackup-cli is a command line tool to manage and automate Binlogic CloudBackup API.

Installation

  • If you already have go installed
  go get github.com/binlogicinc/cloudbackup-cli

Usage

First and foremost, you need to go to your panel URL, click your username, go to Settings and finally to API Settings. Here you'll be able to generate the API keys needed to interact with the control panel progragmatically.

Then you need to define three mandatory parameters for all your API calls: access-key, access-secret and host (this is the same host you use to interact with our panel, like https://YOUR-COMPANY.binlogic.io).

You can pass all these as command line parameters (--access-key=, --access-secret=, --host=), as environment variables (BL_ACCESS_KEY, BL_ACCESS_SECRET and BL_host) or in a configuration file, by default in $HOME/.cloudbackup-cli.toml, like:

access-key = "PUT_YOUR_ACCESS_KEY_HERE"
secret-key = "PUT_YOUR_ACCESS_SECRET_HERE"
host = "https://YOUR_COMPANY.binlogic.IO"

After that, you can use the built in command help to explore it's capabilities

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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