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

SSH Tectia

Creating a Backup


The Management Server must be running when a backup is performed.

The command-line tool ssh-mgmt-backup is located in <server-root>/server/sbin (by default /opt/ssh-mgmt/server/sbin).

The command syntax is:

ssh-mgmt-backup [options]

The following options are available:

-d, --dir=DIR

Directory where the backup archive file is stored. Default: the current working directory.

-n, --name=FILENAME

Name of the backup archive file. The filename will be processed as a string passed to strftime(3) to substitute the date and time values. Default: ssh-mgmt-backup-%Y%m%d%H%M.mbk (i.e., ssh-mgmt-backup-YYMMDDHHMM.mbk). The time in the file name is in UTC.

-f, --force

Forces overwriting the backup archive file if it exists. Default: do not overwrite if file exists.

-t, --timeout=HOURS

Exits with an error after HOURS if not complete. Default: 23 hours.

Example commands:


Creates a backup archive named ssh-mgmt-backup-YYMMDDHHMM.mbk in the current working directory, where YYMMDDHHMM indicates the current date and time.

ssh-mgmt-backup -d /tmp -n ssh-mgmt-backup.mbk -f -t 1

Creates a backup archive named ssh-mgmt-backup.mbk in the /tmp directory, overwriting any file that previously existed at that location, and exiting with an error if the backup process has not completed within an hour.




What to read next:

  • Reduce Secure Shell risk. Get to know the NIST 7966.

    The NISTIR 7966 guideline from the Computer Security Division of NIST is a direct call to action for organizations regardless of industry and is a mandate for the US Federal government.
    Download now
  • ISACA Practitioner Guide for SSH

    With contributions from practitioners, specialists and SSH.COM experts, the ISACA “SSH: Practitioner Considerations” guide is vital best practice from the compliance and audit community.
    Download now