> For the complete documentation index, see [llms.txt](https://help.daak2.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.daak2.com/zh-tw/zi-liao-yu-gong-xiang/backup-and-import.md).

# 匯入、匯出與移轉

相關入口位於 **設定**。

## 匯出帳單

1. 開啟 **帳單匯出**。
2. 選擇帳本、時間或其他匯出範圍。
3. 產生匯出檔案。
4. 使用系統共享選單儲存至「檔案」或傳送到其他 App。

{% hint style="warning" %}
帳單匯出適合儲存明細或外部分析，不等同於完整資料備份。
{% endhint %}

## 匯入帳單

1. 開啟 **帳單匯入**。
2. 點一下 **選擇 CSV**，選擇需要匯入的 CSV 檔案。
3. 設定日期、金額和類型欄位，再依需要設定幣別、帳本、帳戶、分類和標籤等欄位。
4. 設定收入、支出的文字對應，並查看解析預覽。
5. 確認有效資料數量後開始匯入，再檢查完成數量和失敗提示。

一般帳單匯入只處理明確對應為收入或支出的資料，其他帳單類型會忽略。帳本、帳戶或幣別欄位已經填寫但無法對應時，該資料列不會匯入；分類對應不到時保留名稱，標籤對應不到時忽略。

{% hint style="info" %}
建議先用少量資料測試日期格式、金額正負和幣別代碼，再匯入完整檔案。
{% endhint %}

## 從 Daak 記帳匯入

舊版匯出檔案必須從 **從 Daak 記帳匯入**選擇。一般帳單匯入和舊版移轉使用不同格式，不能互換。

| 內容                     | 移轉結果                  |
| ---------------------- | --------------------- |
| 帳本、帳戶、分類、標籤和卡片         | 同名項目直接重複使用，缺少的項目會新建   |
| 帳單和圖片                  | 追加匯入，不會清空 Daak 2 現有資料 |
| 自訂幣別及其相關內容             | 不匯入                   |
| 週期記帳、範本、預購清單、存錢計畫和預算設定 | 不匯入                   |

{% hint style="warning" %}
同一個移轉檔案不要重複匯入。出現無效移轉檔案提示時，請確認檔案來自支援的 Daak 版本，並保持檔案內容完整。
{% endhint %}

## 手動備份與復原

1. 開啟 **iCloud**，點一下 **備份資料**建立備份。
2. 點一下備份可以復原、匯出或刪除。
3. 也可以點一下 **匯入備份**，從檔案中選擇備份。

手動備份會儲存在 iCloud Drive，只包含目前裝置可復原的非共享資料；仍在共享中的內容不會進入備份。復原後，本機資料會回到備份時間點，並繼續透過 iCloud 同步到其他裝置。

{% hint style="danger" %}
復原前請檢查備份日期和範圍。復原後，所有裝置的資料都可能同步為該備份時間點的資料。
{% endhint %}


---

# 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://help.daak2.com/zh-tw/zi-liao-yu-gong-xiang/backup-and-import.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.
