# Recover Data

Similar to the archive process, recovering archived folders is a complex process. Some of the key factors that impact recovery times are:

* Number of objects
* Path depth
* The total size of the dataset to be recovered

Following are the steps to recover data using Hibernate service:

**Step 1:** Within Starfish GUI, change the mode (top left) to 'Recovery' mode. By default, the mode is set to "Browsing (Latest data)'.

**Step 2 (Identify the data):** In 'Recovery' mode, users will be able to see previously archived data. Navigate to the directory you wish to recover.

**Step 3a (Tag the data):** Right-click on the particular directory and select <mark style="color:green;">Tags > Action Tags > A Hibernate: Recover.</mark> If you are unable to tag the folder, please note down the path.&#x20;

{% hint style="danger" %}
Please do not select the '**Recover**' option.
{% endhint %}

![](https://2192432802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkHurDt6-E9sNlIWBI2%2Fuploads%2FlQrQ40f7ImanKYdDsKfa%2FScreen%20Shot%202022-01-12%20at%204.16.32%20PM.png?alt=media\&token=e294def8-963b-4dbe-bbf9-5137624965f6)

**Step 3b:** Once you select that, the <mark style="color:green;">A Hibernate: Recover</mark> tag should appear on the directory​<br>

![](https://2192432802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkHurDt6-E9sNlIWBI2%2Fuploads%2FGF9Z9Gh5ytpYYo2L9cFq%2FScreen%20Shot%202022-01-12%20at%204.16.47%20PM.png?alt=media\&token=7947b7c9-d925-4727-9ffa-b192104d8f67)

**Step 3c:** Repeat the procedure to tag all relevant folders and files to be recovered.

**Step 4 (Recover data):** Once tagging is complete, please complete the [Hibernate Service Request form](https://brown.atlassian.net/servicedesk/customer/portal/16/group/55/create/468) and select the appropriate action tag. This will automatically submit a ticket to the storage team to start the appropriate process.

### Best Practices (Restore)

Factors that affect the archive process also affect the restore process like directory/file sizes, the number of files in a single directory, etc. play a critical role in determining how efficiently data can be archived. Here are some best practices to facilitate an efficient archive process:

* Always tag folders and not individual files (except compressed folders - see next tip). If a single file(s) needs to be archived, move it to a folder.
* Folders that are small in size but contain thousands of files should be compressed (zip, tar). *For example, archiving a folder of size 10GB containing 500,000 files will be treated as 500,001 objects (files+folder) to archive and the same for retrieval. However, if the same folder is compressed, it is treated as one (1) object to archive.*
