V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
lander
V2EX  ›  问与答

postgresql 数据恢复问题

  •  
  •   lander · May 19, 2021 · 1177 views
    This topic created in 1817 days ago, the information mentioned may be changed or developed.
    一套基于 Windows 的业务系统,数据库用的是 pg9.5,不知道由于什么原因业务系统挂了提示数据库连接失败,手动起数据库提示数据文件不兼容( database files are incompatible with server. DETAIL: the data directory was initialized by Postgres version 9.4, which is not compatible with this version 9.5.3 )。
    很奇怪这个报错是为啥。。机器上并未升级或者降级过 pg 的版本,之前只简单粗暴备份了 pg 的 data 目录下的数据文件。请教下这种情况下该如何恢复数据?
    提前谢过!
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3061 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 12:53 · PVG 20:53 · LAX 05:53 · JFK 08:53
    ♥ Do have faith in what you're doing.