Get an update on a restore operation
GET/archive/restore/:id
Returns the status of a specific restore operation by its ID. Please ensure to change the region in the URL to match your account's region.
Request
Path Parameters
ID of the restore process
Responses
- 200
successful operation
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
- IN_PROGRESS - Data is being restored and is not yet available for querying or searching in Kibana.
- ACTIVE - The restored account is active and available for searching and querying in Kibana. Be sure to search the data in its original timestamp.
- LIMIT_EXCEEDED - The data exceeded 100 GB and caused the restore action to fail.
- ABORTED - A user aborted the restore operation before it completed. Only one account can be restored at a time.
- FAILED - The restored account failed to restore the data.
- DELETED - The restored account was deleted by a user.
- EXPIRED - Restored accounts automatically expire after a number of days, as indicated by
expiresAt
.
ID of the restore operation in Logz.io
ID of the restored account in Logz.io
Name of the restored account
Volume of data restored so far. If the restore operation is still in progress, this will be continuously updated.
Possible values: [IN_PROGRESS
, ACTIVE
, LIMIT_EXCEEDED
, ABORTED
, FAILED
, DELETED
, EXPIRED
]
Returns the current status of the restored account.
UNIX timestamp in milliseconds specifying the earliest logs to be restored.
UNIX timestamp in milliseconds specifying the latest logs to be restored.
Timestamp when the restore process was created and entered the queue. (Since only one account can be restored at a time, the process may not initiate immediately.)
UNIX timestamp in milliseconds when the restore process initiated.
UNIX timestamp in milliseconds when the restore process completed.
UNIX timestamp in milliseconds specifying when the account is due to expire. Restored accounts expire automatically after a number of days, as specified in the account's terms.
{
"id": 42,
"accountId": 564321,
"accountName": "My account name",
"restoredVolumeGb": 99,
"status": "ACTIVE",
"startTime": 1589947200,
"endTime": 1589954400,
"createdAt": 1591902426,
"startedAt": 1591902428,
"finishedAt": 1591902461,
"expiresAt": 1592334461
}