直接拷贝完好的data至pg目录底下,可能引起下面的错误:
说data目录权限不是700.
FATAL: data directory "/var/lib/postgres/data" has group or world access DETAIL: Permissions should be u=rwx (0700).

而如果用initdb命令建立的data目录,其权限会自动变成0700

相关文章:

  • 2022-12-23
  • 2021-04-13
  • 2021-11-29
  • 2022-01-18
  • 2021-12-30
猜你喜欢
  • 2022-12-23
  • 2021-07-30
  • 2022-12-23
  • 2022-02-05
  • 2021-08-16
相关资源
相似解决方案