Skip to content

Schedule not running... not sure how to debug... #341

@swombat

Description

@swombat

So I have a weird situation where the backup to AWS was running fine, daily. And if I call it on the command line, it runs just fine. And doing backup-schedule-cat does show the backup schedule being in order. But... it doesn't run daily. The backup isn't appearing on AWS.

dokku@Debian-bookworm-latest-amd64-base:/home/danieltenner$ dokku postgres:backup-schedule-cat <service>-production
daily dokku /usr/bin/dokku postgres:backup <service>-production <company>-<service>-postgres-backups 
dokku@Debian-bookworm-latest-amd64-base:/home/danieltenner$ dokku postgres:backup <service>-production <company>-<service>-postgres-backups
2025-03-31-05-27-55: The backup for postgres-<service>-production finished successfully.

If I log into the AWS console I can see that the last time the backup ran on schedule at 3am was on February 18th. Every subsequent time has been me running the backup manually.

I would love to be able to debug this but I can't see where the postgres plugin stores its cron job. It's not in the root cron. It's not in the crontab of the postgres image. And it's not showing under dokku cron:list.

I guess if there's no other way I'll try to manually set up a cron job to do this. But I thought I'd ask here first to see if anyone has a clue to point me to that could help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions