Skip to content

Feature Request: Ability to backup only once and stop the container #135

@SatishReddyBethi

Description

@SatishReddyBethi

Feature:

Add the ability to run a postgres backup only once and stop. This feature will let us use this image in Kubernetes initContainers or add it as a docker dependency that only runs once before other containers can use that backup.

Implementation:

  • Include an env variable such as BACK_UP_ONCE. Which if set to true will run a backup immediately and then stop container after the backup.
  • This env variable would probably be in conflict with SCHEDULE variable. So, my though would be to either set a priority of one over the other or do not allow these two variables to be used together.

I like this using image if not for this one missing feature. So, please, I would really appreciate it if this feature can be added.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions