Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Dalen-fly opened this issue Nov 19, 2019 · 0 comments
Open

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

Dalen-fly opened this issue Nov 19, 2019 · 0 comments

Comments

@Dalen-fly
Copy link

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant