Categorygithub.com/binlogicinc/cloudbackup-cli
modulepackage
0.0.0-20181217210647-b10b9e3c2ba2
Repository: https://github.com/binlogicinc/cloudbackup-cli.git
Documentation: pkg.go.dev

# 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

# Packages

No description provided by the author
No description provided by the author