The command line client does not need any configuration for it to function properly. All necessary information required to complete a given action is supplied via command line options. The default values for options otherwise configurable via the full Opero client should be such that these are satisfactory in the majority of installations. The command line client is able to read default values from a configuration file. When used, this configuration file is expected to reside in one of the following folders:
- $HOME/.backup_cli.conf
- /etc/backup_cli.conf
- Path to configuration file can be indicated by parameter –config
If the command line client detects a configuration file in one of the aforementioned folders, it will load and process the contents of this configuration file before processing the command line options. If an error is found in the configuration file, the command line client will issue an error message describing which value, setting or option is causing the error and terminate with an exit value of 1.
Opero Command Line application requires Java 1.5 or newer.
If using command line application in Windows, it is recommended to do it from PowerShell.