postgresqlreplication
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| postgresqlreplication [2022/05/04 14:29] – z0hpvk | postgresqlreplication [2025/03/08 22:24] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 44: | Line 44: | ||
| pg_basebackup -D < | pg_basebackup -D < | ||
| + | -D Data Directory | ||
| -v Verbose | -v Verbose | ||
| -P Progress Reporting | -P Progress Reporting | ||
| Line 51: | Line 52: | ||
| </ | </ | ||
| - | Once the copy has completed, you will see the following message | + | Once the copy has completed, you will see the following message: \\ |
| < | < | ||
| pg_basebackup: | pg_basebackup: | ||
| Line 82: | Line 83: | ||
| ==== Check Replication Progress ==== | ==== Check Replication Progress ==== | ||
| < | < | ||
| + | cd $HOME/ | ||
| ls -lrt $(ps -ef | grep postgres | grep recovering | grep -v grep | awk {' | ls -lrt $(ps -ef | grep postgres | grep recovering | grep -v grep | awk {' | ||
postgresqlreplication.1651674541.txt.gz · Last modified: (external edit)
