We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
升级的时候需要关注是否需要数据迁移,下文提供了一些迁移可能用到的方法
https://www.cloudytuts.com/tutorials/docker/how-to-upgrade-postgresql-in-docker-and-kubernetes/
backup
docker exec -it eddc550220ed /usr/bin/pg_dumpall -U postgres > dumpfile
import
docker exec -it [new-postgres-container] psql -U [username] < dumpfile
The text was updated successfully, but these errors were encountered:
No branches or pull requests
升级的时候需要关注是否需要数据迁移,下文提供了一些迁移可能用到的方法
https://www.cloudytuts.com/tutorials/docker/how-to-upgrade-postgresql-in-docker-and-kubernetes/
backup
import
The text was updated successfully, but these errors were encountered: