File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -488,4 +488,4 @@ devbase snapshot rotate [--keep N]
488488
489489| オプション | 説明 |
490490| -----------| ------|
491- | ` --keep N ` | 保持する世代数(デフォルトは ` DEFAULT_MAX_GENERATIONS ` ) |
491+ | ` --keep N ` | 保持する世代数(デフォルト: ` 3 ` ) |
Original file line number Diff line number Diff line change @@ -205,8 +205,8 @@ devbase/
205205│ ├── plugin.yml # プラグイン定義
206206│ ├── compose.yml # Docker Compose 設定
207207│ ├── env # プロジェクト設定(Git 管理)
208- │ ├ ── .env # プロジェクト機密情報(gitignore)
209- │ └── backups/ # スナップショット保存先
208+ │ └ ── .env # プロジェクト機密情報(gitignore)
209+ ├── backups/ # スナップショット保存先(全プロジェクト共通)
210210├── .env # グローバル環境変数(gitignore)
211211└── plugins.yml # プラグイン設定
212212```
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ flowchart TD
9898
9999## バックアップデータ構造
100100
101- スナップショットは ` projects/<project>/ backups/` ディレクトリに保存されます 。
101+ スナップショットは ` ${DEVBASE_ROOT}/ backups/` ディレクトリ(devbase ルート直下)に保存され、全プロジェクトで共通の場所に集約されます 。
102102
103103```
104104backups/
Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ devbase snapshot restore pre-restore-20260221-150000
356356devbase snapshot list
357357
358358# バックアップディレクトリのサイズ確認
359- du -sh projects/ < project > /backups/
359+ du -sh ${DEVBASE_ROOT} /backups/
360360
361361# 不要な世代を削除(2世代のみ保持)
362362devbase snapshot rotate --keep 2
You can’t perform that action at this time.
0 commit comments