Skip to content

Copy data folder of postgres docker container #245

@zN3utr4l

Description

@zN3utr4l

I want to make a backup, only for development, of a docker container on which postgres runs, as the main service, but I noticed that without stopping the backups (the data folder), when I go to copy it to another container it is corrupted, so need to stop it, but if I stop it the container shuts down when if you shut down the main service on docker the container shuts down too.

I was wondering if you had any alternative methods or any advice on this.

I also opened an issue on pgbackrest, because I wanted to try to use it but even there you need to stop the service (pgbackrest/pgbackrest#2134).

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportSupport Requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions