lander
V2EX  ›  问与答

postgresql 数据恢复问题

  •  
  •   lander · May 19, 2021 · 1227 views
    This topic created in 1837 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   ·   1301 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 17:21 · PVG 01:21 · LAX 10:21 · JFK 13:21
    ♥ Do have faith in what you're doing.