pg_rewind
Synchronize a PostgreSQL data directory with another data directory that was forked from it. More information: https://www.postgresql.org/docs/current/app-pgrewind.html.
- Synchronize target directory with source directory:
pg_rewind --source-pgdata
- Synchronize target with source server using connection string:
pg_rewind --source-server
- Simulate a synchronization without actually doing it:
pg_rewind --source-pgdata
- Show progress during synchronization:
pg_rewind --source-pgdata
- Display help:
pg_rewind
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
