直接拷贝完好的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