Skip to content
Binlogic Cloud Backup cli
Go Shell
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api
cmd
scripts
.gitignore
.travis.yml
LICENSE
README.md
cloudbackup-cli.go
glide.lock
glide.yaml

README.md

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

You can’t perform that action at this time.