Skip to content

Please help, I have persisted it, but the table and data are not restored after restarting the container. #1255

@llnancy

Description

@llnancy

verion: postgres:15-alpine

Persistent mount (Similar to the following, I am sure that the persistent mounting of the data volume is successful):

volumeMounts:
- name: postgresql
  mountPath: /var/lib/postgresql

After restarting the container, the files in the directory are still there,

image

but the previous database and table are gone. Is there a way to restore it? How can I do it?

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