Backup not uploading to Google Drive no failure message either

Abierto
#796 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
docker, go
Área
backend, cloud

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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`."
Lenguaje dominante
Go
Estrellas
4.1k
Forks
157
Merge medio
4 h 35 min
PR fusionados (30 d)
15

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de offen/docker-volume-backup

Todos los issues de offen/docker-volume-backup

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.