Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

GET /backup_and_restore/restores/{id}

SUMMARY Retrieves an individual restore by ID.

Retrieves an individual restore by ID.

Table 1: GET /backup_and_restore/restores/{id} resource details:

GET /backup_and_restore/restores/{id} resource details

MIME Type

application/json

Table 2: GET /backup_and_restore/restores/{id} request parameter details:

GET /backup_and_restore/restores/{id} request parameter details

Parameter Type Optionality Data Type MIME Type Description

id

path

Required

Number (Integer)

text/plain

Required. The ID of the restore to retrieve.

fields

query

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3: GET /backup_and_restore/restores/{id} response codes:

GET /backup_and_restore/restores/{id} response codes

HTTP Response Code Unique Code Description

200

The restore was retrieved.

404

1001

The restore does not exist.

500

1000

An error occurred during the attempt to retrieve the restore.

Response Description

A restore object. The restore object contains the following fields:
  • id - Long - The ID of the restore.
  • initiated_by - String - The user or authorized service that initiated the restore.
  • host_id - Long - The host that was restored. For more information, see the following Hosts API:
    • api/config/deployment/hosts
  • time_initiated - Long - The number of milliseconds since epoch when the restore was started.
  • time_completed - Long - The number of milliseconds since epoch when the restore completed.
  • status - Enumeration - The status of the restore. The following values are available: PENDING, REQUESTING, INITIALIZING, IN_PROGRESS, FAILED, SUCCESS.
    • PENDING: This is the initial state of the restore once it is created. From this state the restore can be updated to the REQUESTING state.
    • REQUESTING: After the status is set to REQUESTING, a restore request is sent to the Backup and Restore Engine to initialize it as a new restore.
    • INITIALIZING: After the restore request is received by the Backup and Restore Engine it will update the status to INITIALIZING.
    • IN_PROGRESS: After the restore process begins the status will be updated to IN_PROGRESS.
    • FAILED: If the restore has completed with errors the status will be updated to FAILED.
    • SUCCESS: If the restore has completed without errors the status will be updated to SUCCESS.
  • is_cross_deployment_restore - Boolean - If the associated backup is being restored on a different Console with a set of new managed hosts, the condition is set to 'true'; otherwise, the condition is set to 'false'.
  • backup_id - Long - The ID of the backup associated with the restore. Once the restore completes this value will be updated to null.
  • backup_name - String - The name of the backup that was restored.
  • backup_version - String - The JSA version that corresponds to the backup that was restored.
  • backup_type - Enumeration - The backup type that was restored. This value will always be CONFIG.
  • backup_filename - String - The filename of the backup that was restored.
  • groups - Array of Enumeration - The set of groups that are included with the restore. These groups contain a subset of the following values: CUSTOM_RULES_CONFIG, DEPLOYMENT_CONFIG, USERS_CONFIG, LICENSE_CONFIG, QVM_CONFIG, INSTALLED_APPS_CONFIG, REPORT_TEMPLATES, ASSETS_DATA, OFFENSES_DATA.
    • CUSTOM_RULES_CONFIG: Restores custom rules, reference sets, reference data, and saved searches. If you have rules that depend on items other than reference data and saved searches, you need to use DEPLOYMENT_CONFIG in addition to CUSTOM_RULES_CONFIG for rules to be fully functional.
    • DEPLOYMENT_CONFIG: Restores the deployment model and administrator controlled settings and content. This group includes, but is not limited to the following content: domains, log sources, flow sources, system settings, and forwarding rules.
    • USERS_CONFIG: Restores users, authorized services, user roles, security profiles, and dashboards.
    • LICENSE_CONFIG: NEEDS DESCRIPTION
    • QVM_CONFIG: NEEDS DESCRIPTION
    • INSTALLED_APPS_CONFIG: Restores installed applications.
    • REPORT_TEMPLATES: Restores report templates.
    • ASSETS_DATA: Restores the asset model.
    • OFFENSES_DATA: Restores offenses. All offenses will be restored as closed.

Response Sample