> For the complete documentation index, see [llms.txt](https://academy.shade.inc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.shade.inc/shade-academy/shade-academy-zh/su-cai/snapshots.md).

# 快照

快照会定期捕捉你的驱动器历史记录，持续保留完整的变化记录。如果文件曾被意外删除或覆盖，你可以挂载变更发生前的快照，恢复丢失的内容，而无需联系支持或还原整个驱动器。

#### 工作原理 <a href="#how-it-works" id="how-it-works"></a>

Shade 会持续跟踪对你的驱动器所做的更改，并按固定间隔记录快照。每个快照都代表该时间点驱动器的完整状态，以及最近一次更改由谁完成的记录。

快照可按 5 分钟、15 分钟、30 分钟和 1 小时间隔提供，并可在你选择的任意日期范围内浏览。快照会保留 **30 天。** 超过该期限的内容会被自动删除，且无法恢复。

#### 访问快照 <a href="#accessing-snapshots" id="accessing-snapshots"></a>

快照位于你的驱动器设置中。在左侧边栏中，导航到你想要的驱动器，打开其设置，然后选择 **快照**。该视图会按时间倒序列出所有已记录的快照，每个快照显示：

* 拍摄快照的日期和时间
* 标识该驱动器状态的提交哈希
* 当时最近记录其更改的团队成员

你可以使用顶部的 **快照范围** 选择器按日期范围过滤列表，并调整采样间隔（5 分钟、15 分钟、30 分钟或 1 小时），以控制快照显示的细粒度。

<figure><img src="https://3843445310-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUNq6h2Bfw7aAK0J2ffnZ%2Fuploads%2F8vXZ0Na1QWODKO04pSrE%2Fimage.png?alt=media&amp;token=827a1998-673b-4bef-8701-694d027f1c61" alt=""><figcaption></figcaption></figure>

#### 挂载快照 <a href="#mounting-a-snapshot" id="mounting-a-snapshot"></a>

Shade 的工作方式是将你的云端驱动器直接挂载到本地文件系统，使它们像电脑上的本地文件夹一样可访问。快照的工作方式也一样。点击 **挂载快照** 即可将该版本的驱动器挂载到你的本地机器上，作为一个 **只读** 卷。

挂载后，你可以准确浏览该驱动器在当时的状态，找到之后已被删除或更改的任何文件，并将其复制回当前驱动器或本地机器进行恢复。

只读挂载可确保快照本身在恢复过程中不会被意外修改。

#### 注意事项 <a href="#things-to-keep-in-mind" id="things-to-keep-in-mind"></a>

* 快照是只读的。你不能通过已挂载的快照编辑或删除文件——它们仅用于浏览和恢复。
* 快照的可用性取决于你选择的间隔。选择更短的间隔（例如 5 分钟）会在给定日期范围内显示更多快照。
* 如果你想恢复某个特定文件，请将日期范围缩小到你认为该文件存在的时间附近，以便快速找到正确的快照。
* 快照仅保留 30 天。如果某个文件在 30 多天前被删除，就无法再通过快照恢复。


---

# 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://academy.shade.inc/shade-academy/shade-academy-zh/su-cai/snapshots.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.
