【发布时间】:2011-03-29 10:27:40
【问题描述】:
在这里,我想将 postgresql 从 8.3(端口 5432)升级到 9.0(端口 5433) 如果,会发生什么,
-First I instal the postgres new version 9.0 on port 5433
-Than I backup and restore database by using comman,
/usr/local/pgsql/bin/ pg_dumpall -U -h -p 5432|psql -U -p 5433 -h
-After that I stop both server 8.3 and 9.0
-By using pgAdmin III, I change port the server 9.0 from 5433 to 5432.
如果我尝试用这种方式升级会发生什么?
谢谢:)
【问题讨论】:
-
你确定在同一个系统上安装两个安装只是为了完成迁移数据库的管道技巧是值得的吗?
标签: postgresql backup upgrade port restore