V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
lander
V2EX  ›  问与答

postgresql 数据恢复问题

  •  
  •   lander · 2021-05-19 14:53:17 +08:00 · 590 次点击
    这是一个创建于 1063 天前的主题,其中的信息可能已经有所发展或是发生改变。
    一套基于 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 目录下的数据文件。请教下这种情况下该如何恢复数据?
    提前谢过!
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5017 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 09:56 · PVG 17:56 · LAX 02:56 · JFK 05:56
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.