> 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/ja/dtato/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/ja/dtato/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.
