Slave의 설정 및 reprication 동기화
pg_start_backup
-----------------
0/2000020
(1 row)
interdev@172.29.1.113's password:
data.tar.gz
psql (9.0.2)
Type "help" for help.
postgres=# select pg_stop_backup();
NOTICE: pg_stop_backup cleanup done, waiting for required WAL segments to be
WARNING: pg_stop_backup still waiting for all required WAL segments to be arc
HINT: Check that your archive_command is executing properly. pg_stop_backup
ERROR: canceling statement due to statement timeout
postgres=#
postgres=#
postgres=#
postgres=# \q
[root@tmc_db02 tmp]# cd /data14
[root@tmc_db02 data14]# ls -la
total 3388
drwxr-xr-x 2 root root 24 Apr 6 06:02 .
drwxr-xr-x 25 root root 4096 Apr 3 05:38 ..
-rw-r--r-- 1 interdev interdev 3457269 Apr 6 06:00 data.tar.gz
[root@tmc_db02 data14]# tar xvzf data.tar.gz