Your browser does not allow storing cookies. We recommend enabling them.

SSH Tectia

Restoring a Backup

[Note]Note

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 /opt/ssh-mgmt/server/sbin).

The command syntax is:

ssh-mgmt-restore [options] <archive>

where:

archive is the path to the backup archive

Options available:

-r, --root=DIR

The root directory of the hierarchy where the Management Server is restored. Default: /

-C, --no-checksum

Backup archive checksums are not verified. Default: checksums are verified.

-I, --show-metadata

Show backup archive metadata and exit. Default: perform restore.

-y, --assume-yes

Assume answer yes to all interactive questions. Default: prompt user.

Example commands:

ssh-mgmt-restore ssh-mgmt-backup-200501011200.mbk

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 /tmp/ssh-mgmt-test, not verifying backup archive integrity and assuming a yes answer to potential interactive questions.

ssh-mgmt-restore -I ssh-mgmt-backup.mbk

Outputs metadata of backup archive ssh-mgmt-backup.mbk and exits without performing any further operations.


 

 
Highlights from the SSH.COM blog:

  • Cryptomining with the SSH protocol: what big enterprises need to know about it

    Cryptomining malware is primarily thought of as targeting desktops and laptops and is used to hijack system resources to mine cryptocurrency.
    Read more
  • SLAM the door shut on traditional privileged access management

    Did you know that something as trivial-sounding as granting access for your developers or third parties to a product development environment can throw a gorilla-sized monkey wrench into your operations and productivity?
    Read more
  • We broke the IT security perimeter

    Everyone understands the concept of a security perimeter. You only gain access if you are identified and authorized to do so.
    Read more