restore profile <profile> from <location> name <file>

Prev Next

This command provides the ability to restore a backup to your appliance.

Syntax

restore profile <profileName> from <location> name <file> [include-network-config] [progress {notrack | track}]

Parameters

<profileName>

The profile used to back up the appliance data. The following profiles are available:

  • config – Restores the configuration database and appliance-specific data.

  • fedb – Restores the Trellix appliance database.

    Note

    This profile is not available on Central Management System appliances.

  • config+fedb – Restores the configuration database, the Trellix appliance database, and appliance-specific data.

    Note

    This profile is not available on Central Management System appliances.

  • full – Restores the configuration database, Trellix appliance database, and detected data (malware, alerts, reports, and so on).

    Note

    This profile is not available on Central Management System appliances.

location

The location where the backup file was saved. The following locations are available:

  • local – Restores the database from the local destination on your appliance.

  • url <sourceUrl> – Restores the database from a remote location specified by <sourceUrl> using the following format:

    {https | scp}://username[:password]@hostname/filepath

    where <username> and <password> are remote server Administor credentials, <hostname> is the remote server IP address, and <filepath> is the full path of the backup file.

    Note

    If you do not specify the remote host administrator password in the restore profile command (where the password would be visible as clear text), the CLI prompts for the password and obfuscates the keyboard input as you type it.

  • usb – Restores the database from the USB drive location on your local machine.

Options

The following options can be included with the restore command. These options can be included individually or combined in one command. For more information, see the examples below.

include-network-config

By default, network configuration settings are not included in the restoration. The network configuration settings are included when this option is included in the CLI command.

progress {notrack | track}

Allows you to override the default CLI configuration and display the progress of the restore operation:

  • no-track – Disables progress tracking for the restore operation.

  • track – Enables progress tracking for the restore operation. By default,progress tracking is enabled.

    You can cancel progress tracking by using Ctrl+C. The restore operation still happens in the background. Use the show restore status command to find the status of the restore operation.

Example

This example performs a full restoration using the file wMPS-Full-7.7.0-<hostname>-20150808-001443.febkp located on the local system:

hostname (config) # restore profile full from local restore wMPS-Full-7.7.0-<hostname>-20150808-001443.febkp

This example restores the configuration (including network settings from a file located on a remote server at the URL: admin:admin@remotehost/tmp:

hostname (config) # restore profile config from scp://admin:admin@remotehost/tmp include-network-config backup wMPS-Config-7.7.0-<hostname>-20150808-001589.febkp

This example restores the system configuration database from a local server. During the restore, progress tracking has been disabled.

hostname (config) # restore profile config from local backup wMPS-Full-7.7.0-<hostname>-20150808-001443.febkp progress no-track

User role

Admin

Command mode

Config

Supported appliances

Malware Analysis: Release 7.7

Central Management System: Release 7.5

Email Security — Server: Release 7.6

File Protect: Release 7.7

Endpoint Security (HX): Release 2.5

Network Security: Release 7.5