> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/zh/cms/duplicati-cms-exploitation/duplicati-backup-reading-files.md).

# Duplicati - 读取备份文件

<figure><img src="/files/330bbe97337febd4deab51073a8552c571fb260a" alt=""><figcaption></figcaption></figure>

拥有对该 **Duplicati 管理面板**，创建一个新的备份以外传该 **SSH 密钥**.

<figure><img src="/files/02962d96a4e9c9e1fb1198040eebf0765d41d3c8" alt=""><figcaption></figcaption></figure>

**Docker 配置分析**/ 该 `docker-compose.yml` 文件显示这些文件存储在主机系统中 **源** 目录，并挂载到容器中。

<figure><img src="/files/b58ca48ac6e525b5670cd452e322702d0ed3aa89" alt="" width="541"><figcaption></figcaption></figure>

**目标目录选择**/ 要访问敏感文件，请将 **backup** 通过选择以下项将目标位置设置为该目录：

* **源目录** : `/source/home/marcus/`

<figure><img src="/files/1d3f01e4e571869137d9876886983811bb58c21d" alt="" width="563"><figcaption></figcaption></figure>

* **源数据：** `source/root/`

<figure><img src="/files/972d6b5c9b12dc7460aafa3da8538bc7c657e3e2" alt=""><figcaption></figcaption></figure>

**配置完成**

* 保存配置。

<figure><img src="/files/73b9d569dd783d3093b544677c93aae0e6461e0a" alt=""><figcaption></figcaption></figure>

* 运行 **backup** 以恢复目标文件。

<figure><img src="/files/dcc579b7be9937c6d52838a7601f6697a99c858d" alt=""><figcaption></figcaption></figure>

### 提取备份文件

在 **backup** 运行后，会生成三个 ZIP 压缩包。

<div data-full-width="true"><figure><img src="/files/ee73967d54bd27586b3d456830fddfcbb58fe489" alt=""><figcaption></figcaption></figure></div>

* **文件访问**
  * 由于访问限制，直接打开这些文件会失败。
  * 通过 **Duplicati**，使用 **恢复文件** 以恢复内容。

<figure><img src="/files/f300def1e749da1da8cb588fadba8376a55145f3" alt=""><figcaption></figcaption></figure>

**恢复与外传**

* 从备份中提取文件。

<figure><img src="/files/1318e9196234ac6b9d37c623948b171df3e33e68" alt=""><figcaption></figcaption></figure>

选择 **`/source/home/marcus/`** 作为恢复源。

<figure><img src="/files/704d3ee9a54afd691c569349f6033cf8c3d59f9b" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/abcd814e94c774b0ef44db125a38868d47aa0e0a" alt="" width="563"><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/zh/cms/duplicati-cms-exploitation/duplicati-backup-reading-files.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
