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

Tectia

Creating a Backup

[Note]Note

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:

ssh-mgmt-backup

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.


 

 
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