CloudBerry Backup installation adds a cbb.exe file to the application's directory. This tool provides a command line interface (CLI) using which you can configure your application, as well as manage and customize your storage accounts and backup/restore plans.
CLI implementations are different for the Windows, Linux and Mac OS editions of CloudBerry Backup.
The articles in this section describe the CLI implementation available for the Windows edition of CloudBerry Backup.
Getting Started with CloudBerry Backup CLI
To get started with using CloudBerry Backup CLI, run the Command Prompt under local administrator permissions.
Next, navigate to a folder where you installed the application.
cd "C:\Program Files\CloudBerryLab\CloudBerry Backup"
CloudBerry Backup CLI Syntax
When in the product installation directory, you can specify a command to execute after typing a "cbb.exe" or "cbb" prefix. A command's parameters are indicated with a hyphen.
cbb list -account "accountName"
For most of the command parameters, both a short and a human-readable version is available (for example, you can spell the command's parameter in the above example either as "-account" or as "-a").
CloudBerry Backup CLI is case insensitive (for example, "-restoreType" is identical to "-restoretype") and supports tab completion.
Getting Help on CloudBerry Backup CLI
You can find out which parameters are available for any command by adding "-?" after the command name. The following example illustrates how to list all available commands in the Command Prompt.
Different commands can be available depending on your CloudBerry Backup license.
The help displayed for most of the commands includes generalized examples in the following format.
- angle brackets for required parameters:
- square brackets for optional parameters:
- ellipses for repeated items:
- vertical bars for choice of items:
editBackupPlan <-n planName | -id planID>