# 恢复数据

## 使用新的恢复功能恢复 <a href="#toc165549844" id="toc165549844"></a>

如果您使用内置备份功能备份了数据，可以通过菜单项“管理数据备份”轻松恢复。

<figure><img src="/files/EY3YkYe6FrgAWtw9Gnx8" alt=""><figcaption><p>管理数据备份</p></figcaption></figure>

<img src="/files/1VcYzo8aucANRZwWaSRb" alt="" data-size="line">按下按钮“...”。

<img src="/files/uCap4LBCwP0Vi5uKHYM1" alt="" data-size="line">选择“管理数据备份”。

将显示使用相同 Apple ID 的所有设备的所有现有云备份列表。

您可以在下图中找到按钮的说明：

<figure><img src="/files/n1JJPvdflFvnC2KUrsvZ" alt=""><figcaption><p>现有云备份及其功能</p></figcaption></figure>

<img src="/files/1VcYzo8aucANRZwWaSRb" alt="" data-size="line">**恢复备份。**\
使用此按钮启动备份恢复。

<img src="/files/uCap4LBCwP0Vi5uKHYM1" alt="" data-size="line">**最终删除备份。**\
使用此按钮将备份从设备和云中删除。

<img src="/files/XpAvp1deOqgC4tBraMKv" alt="" data-size="line">**本地删除备份。**\
使用此按钮将删除备份的本地副本。此时仍然存在于云中，可以在需要时重新下载。

<img src="/files/ci5FfG0B1wOP8GkZ6YVm" alt="" data-size="line">**从云中下载备份。**\
使用此按钮下载备份的副本，然后可以使用按钮 (1) 恢复。

<img src="/files/A8PWsmVDKOO19egW2oSc" alt="" data-size="line">只有下载了备份 (4) 时，恢复或最终删除按钮才会激活。

{% hint style="info" %}
按下这些按钮时，首先会显示一条消息，说明其功能，并询问您是否确定要执行该操作。

因此，如果您不知道按钮的功能，可以放心按下并阅读确认问题。这样，您仍然可以取消操作，如果这并不是您当前想要做的事情。
{% endhint %}

按下恢复按钮 (1) 时，将首先出现此窗口，显示有关备份的其他信息以及恢复时的情况。

<figure><img src="/files/eyiwNOlwTDOB5Xun4ejs" alt=""><figcaption><p>恢复备份前的确认</p></figcaption></figure>

在此，您可以检查备份内容并决定是否恢复备份或取消。

## 恢复 .sbkbkp 备份文件 <a href="#toc165549845" id="toc165549845"></a>

SongBook+ 的备份文件后缀为 .sbkbkp（SongBook 备份）。

如果您在文件应用中点击这样的文件，或通过其他应用用“在…中打开”选项发送到 SongBook+，SongBook+ 会启动并显示用于恢复备份的窗口（见上）。

在此，您可以检查备份内容并决定是否恢复备份或取消。

（在 Mac 上，可以将备份文件拖到 SongBook+ 的 App 图标上进行恢复。）

## 其他恢复方法 <a href="#toc165549846" id="toc165549846"></a>

如果您没有使用 SongBook+ 的备份功能进行数据备份，而是手动复制了文件，您可以手动将这些文件复制回 SongBook+。

{% hint style="danger" %}
在恢复备份前，请退出 SongBook+，否则复制数据库文件无效（除非您使用 WLAN 共享功能）！
{% endhint %}

备份文件会像普通文件一样被复制回 SongBook+。

请参考页面 [Dateien in SongBook+ einfügen](/zhong-wen/readme/dateien-in-songbook+-einfugen.md)，了解如何将文件复制到 SongBook+，并按照同样的方法处理备份文件。

{% hint style="info" %}
如果文件 SongBookMidi.sqlite-shm 或 SongBookMidi.sqlite-wal 其中之一未被备份，因为其大小为 0，则需要先在目标 iPad 上删除该缺失的文件。
{% endhint %}

{% hint style="info" %}
文件夹“Inbox”不能也不需要被复制回去！\
但它也不包含任何需要的数据。
{% endhint %}


---

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

```
GET https://docs.songbookplus.com/zhong-wen/readme/sichern-und-wiederherstellen-ihrer-daten/daten-wiederherstellen.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
