> For the complete documentation index, see [llms.txt](https://docs.ccv.brown.edu/storage-and-transfer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ccv.brown.edu/storage-and-transfer/hibernate/getting-started-with-hibernate/recover-data.md). Agents can also search and read this documentation through its [MCP server](https://docs.ccv.brown.edu/storage-and-transfer/~gitbook/mcp).

# 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:

1. Within Starfish GUI, change the mode (top left) to 'Recovery' mode. By default, the mode is set to "Browsing (Latest data)'.
2. **Identify the data**: In 'Recovery' mode, users will be able to see previously archived data. Navigate to the directory you wish to recover.
3. **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.

   <div data-gb-custom-block data-tag="hint" data-style="danger" class="hint hint-danger"><p>Please do not select the '<strong>Recover</strong>' option.</p></div>

   ![Menu tree with the "tags" option leading to an "action tags" option, which then leads to the "Hibernate: Recover" action](https://1593269995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrhWgUCotdswQSGxxHnhk%2Fuploads%2Fgit-blob-f4ef93e246c6cadea8876f4e770a6672eb41a33b%2FScreen%20Shot%202022-01-12%20at%204.16.32%20PM.png?alt=media)

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

   ![The data table displaying the "Hibernate Delete" tag](https://1593269995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrhWgUCotdswQSGxxHnhk%2Fuploads%2Fgit-blob-59e30a9e1d7755aa85bef210958004ae107b565d%2FScreen%20Shot%202022-01-12%20at%204.16.47%20PM.png?alt=media)

   1. Repeat the procedure to tag all relevant folders and files to be recovered.
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.*


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ccv.brown.edu/storage-and-transfer/hibernate/getting-started-with-hibernate/recover-data.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
