Show backup storage usage: totals per schedule and destination, plus sizes for volume backups
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- nextjs, typescript
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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)
- Ngôn ngữ chính
- TypeScript
- Star
- 38.8k
- Fork
- 3.2k
- Merge trung bình
- 1 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 110
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Dokploy/dokploy
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Dokploy/dokploy#6151 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Healthy Swarm task shows an empty `(Error:)` suffix on the last row of the Containers tabCó thể đã có người làm @AyhamJo7 đã nhận 4 ngày trước. Đang mởneeds-triage🔍
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Dokploy/dokploy#6115 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Global search (Cmd/Ctrl+J) never sorts results by relevanceCó thể đã có người làm @hamidzr đã nhận 6 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Dokploy/dokploy#6107 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`utils/dns/ovh.ts`: the zone-listing 403 handler replaces the provider's error instead of chaining itCó thể đã có người làm @SyncWithRaj đã nhận 9 ngày trước. Đang mởbug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
Dokploy/dokploy#6075 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
MongoDB with Replica Sets enabled: container exits with code 0 and restarts in a loop (generated startup script never waits on mongod)Có thể đã có người làm @ghazy2001 đã nhận 10 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Dokploy/dokploy#6051 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Dokploy/dokploy
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ardia-browser/ardia#5042 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
clipy-recorder/clipy#695 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: RUN_STARTED resets the run's tool-call tally even when a subscriber suppresses the eventĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
ag-ui-protocol/ag-ui#3504 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/profiles area/sessions comp/desktop desktop/chat desktop/sessions P2 type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
NousResearch/hermes-agent#161712 ·
Maintainer thường phản hồi trong vòng 1 ngày