Data Loss on Container Restart: PostgreSQL Docker Image in TrueNAS Scale #1203
DenisTimofijuk
started this conversation in
General
Replies: 1 comment
-
Did you create a volume to persist the data? Without a volume the data would be lost when restarting. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue Description:
I'm encountering an issue with the PostgreSQL Docker Official Image on my TrueNAS Scale setup. While I can install the image without any problems and make changes via pgAdmin, upon restarting the image, all modifications are lost, reverting everything back to its initial state.
Expected Behavior:
I expect the changes made within the PostgreSQL container to persist across restarts, ensuring data integrity and consistency.
Current Behavior:
However, it seems that the data is only stored in memory and not being saved to the disks, resulting in loss of changes upon restart.
Steps to Reproduce:
Additional Information:
Beta Was this translation helpful? Give feedback.
All reactions