This is the login name of the user. See the backup command for more information.
-pass <password>
This is the password for the specified login name. See the backup command for more
information.
-key <key>
This is the encryption key of the user. See the backup command for more information.
-server <server address>
This is the network address or domain name of the BackupAgent Server.
For example: http:--<server name> or https:--<server name>
-version [all | last | <number>]
5
An optional parameter specifying which version of a file has to be deleted. There are 3 possible
values for this parameter:
Version all: specifies that all versions of the file have to be deleted.
Version last: specifies that the last version of a file has to be deleted.
Version <number>: specifies that the defined version has to be deleted.
When version is not specified -version all is assumed.
-input <file>
This option specifies that the list of files to be deleted must be read from the given file. This option
may be useful if a large number of files need to be removed. The input file must be structured as
follows:
<version> <path>
<version> <path>
…
Where <version> is one of all, last or a number (see the -version command line option for more
information), and <path> is the full path to a file or folder that must be deleted. Please note that
the -input command line option is mutually exclusive with a list of files specified on the command
line.
File file....
This is the name or names of files and/or directories that need to be deleted. The name should
contain the whole path where the directory or file is located. The server will stop the operation if
the user tries to delete a file or directory which is not located on the server.
4.2 Output
As output, the delete command will print the list of deleted files or folders on standard output,
one line for each file (the full path will be shown). When the delete completed successfully, it will
print ‘delete completed successfully’ and exit with a status value of 0. If an error is encountered
6
during the delete, an appropriate error message will be printed to standard error and the client
will exit with a status value of 1.
5. Dir
This command makes it possible to display one or multiple directories on the BackupAgent
Server. It is even possible to see if this file exists by using this command:
Java -jar cli.jar dir -login <login name> -pass <password>
This is the user login name of the user. See the backup command for more information.
-pass <password>
10
This is the password of a user. See the backup command for more information.
-key <key>
This is the encryption key of the user. See the backup command for more information.
-server <server address>
This is the network address or domain name of the BackupAgent Server.
As example: http://<server name> or https://<server name>
-version [all | last| <number>]
This optional parameter specifies which version of a file has to be restored. There are 3
possibilities for this parameter:
Version all: specifies that all versions of the file has to be restored.
Version last: specifies that the last version of a file has to be restored.
Version <number>: specifies that the version that the defined version has to be restored.
When a user uses -version all then all versions of a file will be stored. This will be done such as
<file>.1 <file> 2 etc. If this option is not used -version last is assumed. This parameter is ignored
when the -input parameter is used.
-dest <destination location>
This parameter defines the location on the file system where the requested files have to be
restored. This must be an existing location on the file system. The client will use the original
location when a user does not specify this.
-input <file>
This option specifies that the list of files to be restored must be read from the given file. This
option may be useful if a large number of files needs to be restored. The input file must be
structured as follows:
<version> <path>
11
<version> <path>
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
Where <version> is one of all, last or a number (see the -version command line option for more
information), and <path> is the full path to a file or folder that must be restored.
Please note that when the -input command line option is mutually exclusive with a list of files
specified on the command line.
file file ....
This is the list of files that must be restored. The specified names must contain the whole path.
Please beware that if a filename contains whitespace or any other characters that have a special
meaning to the command shell, the filename must be placed within double quotes.
6.2 Output
As output, the restore command will print the list of restored files and folders on standard output,
one line for each file (the full path will be shown). When the restore completed successfully, it will
print ‘restore completed successfully’ and exit with a status value of 0. If an error is encountered
during the restore, an appropriate error message will be printed to standard error and the client
will exit with an appropriate exit value as follows:
12
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.