Command Line Interface Specification Linux Mac
1
Command Line Interface Specification Linux Mac
Online Backup Client version 4.1.x and higher
1. Introduction
These modifications make it possible to access the BackupAgent Client software from the
command line. The following actions will be implemented: backup, delete, dir en restore. These
actions will be described in more detail in the following paragraphs.
For all actions applies that a successful action is indicated by means of exit code 0. In all other
cases a status code of 1 will be used.
2. Configuration
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 BackupAgent client should be such
that these are satisfactory in the majority of installations.
However, to allow the user to modify the values of options that cannot be set via a command line
option, 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: application
installation location or the config folder in the application installation location.
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. In addition, the error message will specify the line on which the error was detected
and the full path to the configuration file the error was found in.