It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda Intronis Backup
formerly ECHOplatform

Browsing a Snapshot Drive

  • Last updated on

This API allows you to Browse a Snapshot Drive

Input Parameters

The following table provides the paraments and descriptions.

Parameter

Description

id

Drive revision id. Obtained via the Get list of drives API call.

snapshotDate

Date of the snapshot, originally obtained via the Get list of snapshots call.

page

Optional paging parameters. If not specified, the default is to fetch 50 items, starting from index 0.

startIndex           Index from where to start fetching.

count    Total of how many records to fetch.

Example

{

 "id": 72,

 "snapshotDate": "2020-01-04T23:59:59"

}

Output Parameters

The following table provides the paraments and descriptions.

Parameter

Description

type

Type of record. Either Folder or File.

Id

Integer value. ID of the drive record. Use this parameter for subsequent browse requests for the next level (browse by Folder or File) or for sending it over to the restore API in order to restore this record.

name

String value. Display name of volume.

path

String. Path of the drive.

lastModifiedDate

Available for type = File only: last modified date and time of the backed-up file.

hasChildren -

Boolean. Indicates whether a subsequent browse at the Folder, File or Revision level is possible.

Example

Array of files or folders that contain restorable revisions, with the following structure:

{

    "items": [      

        {

            "type": "Folder",

            "id": 147,

            "name": "Logs",

            "path": "C:\\Logs",

            "hasChildren": true

        },

        {

            "type": "Folder",

            "id": 1164,

            "name": "Program Files",

            "path": "C:\\Program Files",

            "hasChildren": true

        },

        {

            "type": "File",

            "lastModifiedDate": "2019-10-29T11:22:44",

            "size": 238205,

            "id": 33,

            "name": "test.docx",

            "path": "F:\\test.docx",

            "hasChildren": true

        }

    ]

}

Example GET

GET /v2/accounts/{accountUsername}/computers/{subaccountId}/restore/filesandfolders/browse/snapshot/drive/{snapshotId}?snapshot={snapshotDate}

Example Output

{

  "data": {

    "items": [

      {

        "type": "Drive",

        "id": 10,

        "name": "New Volume (F:)",

        "path": "",

        "hasChildren": false,

        "backupTime": "0001-01-01T00:00:00"

      }

    ]

  }

}