Skip to content

Backup not uploading to Google Drive no failure message either #796

@omriasta

Description

@omriasta

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`."

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions