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.
Backup archive checksums are not verified. Default: checksums are verified.
Show backup archive metadata and exit. Default: perform restore.
yes to 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-backup-200501011200.mbk was created.
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
verifying backup archive integrity and assuming a
to potential interactive questions.
ssh-mgmt-restore -I ssh-mgmt-backup.mbk
Outputs metadata of backup archive
and exits without performing any further operations.