-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade from 9.3 to 9.4 #8
Comments
No there isn’t one, an issue is opened about upgrades between major version of PG when using the docker image: docker-library/postgres#37 One way to do it I think is this:
So beware and backup your data! 😁 |
I'll sneak this other question in here if you don't mind, since it's related: PG stores its data inside the container, right? So if the image restarts, there's a chance of losing the data? I'm not clear on whether or not data persists during restarts. http://stackoverflow.com/questions/19585028/i-lose-my-data-when-the-container-exits made me a little worried :) I ask because it would be good to know if you risk data loss if the image is restarted (perhaps as part of upgrading the plugin) or if the host system restarts (perhaps due to maintenance). |
Tried running a DB backup, then rebooting my host system. No data loss, so I guess that answers it :) For plugin upgrades I guess it's a good idea to do a backup first anyway, so that's less of a worry. |
yes data are stored outside of the container ( |
@Flink Oh, that's great. Thank you! |
Is there a recommended way to do this or should I experiment?
The text was updated successfully, but these errors were encountered: