Find answers to your technical questions and learn how to use our products
Search suggestions:
Find answers to your technical questions and learn how to use our products
Search suggestions:
|
Backup and Restore tool options
|
|
|---|---|
|
Option
|
Description
|
|
-h
|
Display the help message and more examples.
|
|
-b
|
Backup indicator followed by the filename to use for the backup. The filename must include the .zip extension.
|
|
-r
|
Restore indicator followed by the filename of the file to restore. The file must be an archive with the .zip extension
|
|
-t
|
Backup Task type: Defines what will be backed-up:
config indicates System Configuration
service indicates Application Content.
|
|
-ftp
|
Transfer the resulting backup file to an FTP destination. This is optional.
|
|
-sftp
|
Transfer the resulting backup file to an SFTP destination. The -sftp switch must be followed by the server address, username and fingerprint of the SFTP destination in quotes. This is optional. For example,
-sftp 10.0.12.23 sftpuser "ecdsa-sha2 nistp256 256 AAAAE2VjZHNhLXNoYTItbmIzdHAyNTYAAAAIbmIzdHAyNTYAAABBBGbVB+kh1TGWdgY+nxgWQSkh+OTDHhuU4eDE6apaoogGUvWTCROw6+vIQfipMbf4WAo2OObAObC+RU9dMX1G+Gc="
The fingerprint field is a combination of three space delimited tokens in the following format:
<public key fromat> <key length> <host key text>
PuTTY is used to perform the SFTP and supports the following formats for <host key text>:
The MD5 has can be obtained by SSH to the FTP server and issuing the following command.
[cust@someserver ~]$ ssh-keyscan localhost
Using the example above you would configure the following for Secure FTP Remote Server Fingerprint for ecdsa-sha2–nistp256 key type.
ecdsa-sha2–nistp256 256
|
|
-p
|
Password for SFTP authentication. Use quotes around passwords containing special characters. Additionally, if the password contains a backslash (\) or a quote (") then each of these characters must be escaped by a preceding backslash (\). This is optional. For example, the password 12;;33\MS"pw should be entered in quotes as follows: "12;;33\\MS\"pw"
This is optional.
|
|
-k
|
Private key for SFTP server. This is optional.
|
|
-dp
|
Destination path for backup on the SFTP server. This is optional.
|
|
-d
|
Delete the local file upon successful ftp transfer or restore. This is optional.
|
|
-c
|
Direct output that is sent to the console instead of the debug file. This is optional.
|