Command Line Interface Specification Windows

5
The name of the task that needs to be executed. The actual task definition is read by the agent
from the xml file containing the task definitions
1
, and this file is expected to reside in one of the
following folders: application installation location, the config folder in the application installation
location or the current directory. If the task definition file cannot be found, the client must issue
a proper error message and terminate with an exit value of 1. This argument is optional but
mutually exclusive when specifying a list of files and/or folders to be backed up. However, either
this option or the list of files and/or folders must be specified.
1
The command line client does not offer functionality to create such a task definition. It is
assumed that the actual task definition has been created by the user. Either by using a properly
installed version of the OnlineBackupClient software or by manually creating the correct
definition via a text editor.
5.2 Output
As output and when the command progresses, the backup command will print the list of files
backed up on standard output, one line for each file (full path must be shown). When the backup
completed successfully, it will print ‘backup completed successfully’ and exit with a status value
of 0. If during the backup problems are encountered with files and/or folders which cause these
items to be skipped, an appropriate notification (including the full path) must be printed to
standard error. If a fatal error was encountered during the backup, a detailed error message
must be printed to standard error and the client must exit with an appropriate exit value
according to the following list:
Value
Meaning
0
Completed successfully
1
Command line error or unknown error
2
Completed successfully with skipped resources
3
Completed successfully with not found resources
4
Completed successfully with not found resources and skipped resources
5
Completed unsuccessfully
6
Completed unsuccessfully with skipped resources
7
Completed unsuccessfully with not found resources
8
Completed unsuccessfully with not found resources and skipped resources