Show backup storage usage: totals per schedule and destination, plus sizes for volume backups
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 42/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- nextjs, typescript
調査の方向性
Start by reading the existing database backup file listing added in #5260 and the backup.listBackupFiles API, then trace how backup schedules and volume backups are represented. The issue proposes rclone size --json for schedule totals and a volume files dialog; the destination totals and API query are optional. Done means displaying accurate file counts and sizes for schedules, with volume backup files and download links.
索引モデルが issue の本文から書いたものです。
説明
What problem will this feature address?
I can't tell how much storage my backups are using. v0.31.0 (#5260) added a file list with a Size column for database backups, which helps, but:
- There is no total for a backup schedule, so working out what one database costs in S3 means adding up the files by hand.
- There is no total per destination, so I can't see which apps or databases take up most of a bucket, or how close I am to a quota.
- Volume backups have no file list at all, so their sizes are not visible anywhere in Dokploy.
backup.listBackupFilesreturns at most 100 files, so totals computed from it are wrong once a schedule has more than 100 files.
Because of this, keep-latest settings and storage costs are hard to tune without opening the S3 provider's console.
Describe the solution you'd like
- Show the file count and total size for each backup schedule (database and volume) in its backup list, computed over the schedule's prefix with
rclone size --json. - Give volume backups the same files dialog that database backups got in #5260, with the Size column and download links.
- Optionally, show total usage per destination under Settings > S3 Destinations.
- Expose the totals through the API (for example a
backup.storageUsagequery by backupId, volumeBackupId, or destinationId) so CLI and automation users can read them.
Totals can be computed when the dialog opens or after each backup run. Caching the last value with a timestamp would avoid listing the bucket on every page load.
Describe alternatives you've considered
- Adding up the
Sizefield frombackup.listBackupFileson the client side. This works for small schedules but is capped at 100 files and doesn't cover volume backups. - Checking bucket usage in the S3 provider's console. That means leaving Dokploy, and most providers don't break usage down by prefix.
- Running
rclone sizeby hand against the destination. Accurate, but it needs the credentials copied out of Dokploy.
Additional context
Related: #3566 and #5206 (compression for volume backups). Once compression lands, size numbers would also show how much it saves.
Will you send a PR to implement it?
Yes (happy to work on it if the maintainers are on board with the approach)
- 主要言語
- TypeScript
- スター
- 38.8k
- フォーク
- 3.2k
- 平均マージ
- 1日 10時間
- マージ済み PR(30日)
- 110
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Dokploy/dokploy のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Dokploy/dokploy#6151 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Healthy Swarm task shows an empty `(Error:)` suffix on the last row of the Containers tab対応中かも @AyhamJo7 が 4 日前に担当しました。 オープンneeds-triage🔍
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Dokploy/dokploy#6115 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Global search (Cmd/Ctrl+J) never sorts results by relevance対応中かも @hamidzr が 6 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
Dokploy/dokploy#6107 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
`utils/dns/ovh.ts`: the zone-listing 403 handler replaces the provider's error instead of chaining it対応中かも @SyncWithRaj が 8 日前に担当しました。 オープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
Dokploy/dokploy#6075 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
MongoDB with Replica Sets enabled: container exits with code 0 and restarts in a loop (generated startup script never waits on mongod)対応中かも @ghazy2001 が 10 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Dokploy/dokploy#6051 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
Dokploy/dokploy の issue をすべて見る
似ている issue
-
[Bug]: RUN_STARTED resets the run's tool-call tally even when a subscriber suppresses the eventオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
ag-ui-protocol/ag-ui#3504 ·
メンテナーはふだん 1 日以内に返信
-
area/profiles area/sessions comp/desktop desktop/chat desktop/sessions P2 type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
NousResearch/hermes-agent#161712 ·
メンテナーはふだん 1 日以内に返信
-
bug p3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rothgar/rabble.radio#283 ·
メンテナーはふだん 1 日以内に返信
-
bug from-app needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
nightly-labs/openbot#19805 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
OHDSI/Data2Evidence#3760 ·
メンテナーはふだん 3 日以内に返信