Skip to content

同步es时,历史数据pg_dump_path怎么个用法? #22

@Dalen-fly

Description

@Dalen-fly

pg_dump_path 指向的pg_dump 备份文件 有什么要求?是 sql 还是二进制?文件后缀有没有要求?
我都试了,没效果,能提供pg_dump 的命令示例吗?
我是这样创建的备份文件:
pg_dump -h 10.168.4.91 -p 5321 -U postgres -W -F p -b -v -f "/opt/amazonriver/xzdssituation_p.sql" xzdssituation

这样配置的
"pg_dump_path": "/opt/amazonriver/xzdssituation_p.sql",
"subscribes": [{
"dump": true,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions