Note that the Management Server must not be running when a restore is performed.
You can restore a backup version with command-line tool ssh-mgmt-backup that is located in
<server-root>/server/sbin (by default
The command syntax is:
ssh-mgmt-restore [options] <archive>
archive is the path to the backup archive
The root directory of the hierarchy where the Management Server is restored. Default:
Backup archive checksums are not verified. Default: checksums are verified.
Show backup archive metadata and exit. Default: perform restore.
yesto all interactive questions. Default: prompt user.
Restores the Management Server configuration data and Management Database to the state that they were in when the backup archive
ssh-mgmt-restore -r /tmp/ssh-mgmt-test -C -y ssh-mgmt-backup-test.mbk
Restores the Management Server configuration data and Management Database into the hierarchy rooted at
/tmp/ssh-mgmt-test, not verifying backup archive integrity and assuming a
yesanswer to potential interactive questions.
ssh-mgmt-restore -I ssh-mgmt-backup.mbk
Outputs metadata of backup archive
ssh-mgmt-backup.mbkand exits without performing any further operations.