Backup not uploading to Google Drive no failure message either

Đang mở
#796 2 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
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
docker, go
Lĩnh vực
backend, cloud

Hướng nghiên cứu

Start by tracing the Google Drive upload and pruning logs shown in the report, then inspect the repository’s Google Drive storage implementation and related tests. Check how service account, folder ID, and impersonation settings affect the upload result; reproduce with the provided setup if possible. Done means the backup appears in the configured Drive folder and failures are reported clearly.

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

Mô tả

documentation pr welcome

Describe the bug

Google Drive setup was done from the instructions I saw, created service account etc.
To Reproduce
Steps to reproduce the behavior:

  1. ... Created the service account
  2. ...Shared a new empty folder with the service account
  3. ...Listed the folder id in the env file
  4. ...I am using the email address of the service account in the Impersonate_Subject field (this wasn't clear, I also tried my personal gmail account but that fails)

Expected behavior

The logs state that the file was uploaded but nothing is uploaded
Version (please complete the following information):

  • Image Version:
  • Docker Version:
  • Docker Compose Version (if applicable):
    Using the "latest" tag
    Additional context

Here are the logs I see:

backup-1     | time=2026-06-10T19:04:02.008Z level=INFO msg="Removed tar file `/tmp/postgres-backup-2026-06-10T19-04-00.tar.gz`."
backup-1     | time=2026-06-10T19:06:00.048Z level=INFO msg="Now running script on schedule 0 */2 * * * *"
backup-1     | time=2026-06-10T19:06:00.077Z level=INFO msg="Created backup of `/backup/postgres_data` at `/tmp/postgres-backup-2026-06-10T19-06-00.tar.gz`."
**backup-1     | time=2026-06-10T19:06:00.080Z level=INFO msg="Starting upload for backup 'postgres-backup-2026-06-10T19-06-00.tar.gz'." storage=GoogleDrive**
backup-1     | time=2026-06-10T19:06:00.086Z level=INFO msg="Stored copy of backup `/tmp/postgres-backup-2026-06-10T19-06-00.tar.gz` in `/archive`." storage=Local
backup-1     | time=2026-06-10T19:06:53.593Z level=INFO msg="None of 4 existing backups were pruned." storage=Local
**backup-1     | time=2026-06-10T19:06:53.806Z level=INFO msg="None of 0 existing backups were pruned." storage=GoogleDrive**
backup-1     | time=2026-06-10T19:06:53.807Z level=INFO msg="Removed tar file `/tmp/postgres-backup-2026-06-10T19-06-00.tar.gz`."
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.