Command Line Interface Specification Linux Mac

4
file1 file2 …
This argument specifies a list of files and/or folders to be backed up. Multiple files and/or folders
are separated with any amount of whitespace. It is the user’s responsibility to properly quote any
file or folder name containing embedded whitespace or other special characters. If the optional
-r option is specified, all specified folders will be backed up recursively. The use of relative paths
is allowed and will be treated properly by the agent (this means that the agent will fully resolve
any relative path into the correct absolute path and automatically compress any redundant path
components). This argument is optional but mutually exclusive with the task command line
option. However, either this option or the -task option must be specified.
3.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 (the full path will 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 an 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
9
User canceled