Lazy restart of multi volume backup

Đang mở
#749 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
docker, docker-compose, go
Lĩnh vực
devops, infrastructure

Hướng nghiên cứu

Start by reading the backup and service restart coordination code to find how the current lock works across multiple volume backups. The issue suggests a semaphore and an environment variable for compatibility, but names no files or tests. Done means services remain stopped until all backups finish and restart once afterward; check the existing backup tests and add coverage for that behavior.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

Is your feature request related to a problem? Please describe.
I am using this awesome image (thanks by the way) to backup the volumes of my mailserver. Therefore the mailserver is stopped each time a volume is backed up, which results in 6 restarts everyday. Since resarting all the services takes a lot of resources, I would love to keep the server stopped until all backups are finished.

Describe the solution you'd like
Maybe instead of using a lock, one can use a semaphore and restart the services once all the backups finished. To ensure compatibility I would suggest to activate this feature using an env var.

Describe alternatives you've considered
None

Additional context
I am happy to create a PR to solve this. But I wanted to check upfront, if you agree with this feature request before starting to work on it.

Ngôn ngữ chính
Go
Star
4.1k
Fork
157
Merge trung bình
4 giờ 35 phút
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của offen/docker-volume-backup

Tất cả issue của offen/docker-volume-backup

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.