Fixing configuration /tmp/pgtest/data/*
server starting
LOG:  redirecting log output to logging collector process
HINT:  Future log output will appear in directory "pg_log".

>>>==========LOG===========
LOG:  database system was shut down at 2015-09-26 23:05:26 IDT
LOG:  MultiXact member wraparound protections are now enabled
LOG:  autovacuum launcher started
LOG:  database system is ready to accept connections
<<<==========LOG===========

SELECT 1000
Making backup...
total 37576
-rw-r--r--. 1 postgres postgres 38475776 Sep 26 23:05 base.tar
waiting for server to shut down.... done
server stopped
Check archive (after #1 stop) ...
-rw-------. 1 postgres postgres 16777216 Sep 26 23:05 /tmp/pgtest/archive/000000010000000000000001
-rw-------. 1 postgres postgres 16777216 Sep 26 23:05 /tmp/pgtest/archive/000000010000000000000002
-rw-------. 1 postgres postgres      302 Sep 26 23:05 /tmp/pgtest/archive/000000010000000000000002.00000028.backup
Bringing up 2d server...
Fixing configuration /tmp/pgtest/data/*
server starting
LOG:  redirecting log output to logging collector process
HINT:  Future log output will appear in directory "pg_log".
cp: cannot stat ‘/tmp/pgtest/backups/000000010000000000000003’: No such file or directory
LOG:  redo done at 0/20000B8
cp: cannot stat ‘/tmp/pgtest/backups/000000010000000000000002’: No such file or directory
cp: cannot stat ‘/tmp/pgtest/backups/00000002.history’: No such file or directory
LOG:  selected new timeline ID: 2
cp: cannot stat ‘/tmp/pgtest/backups/00000001.history’: No such file or directory
LOG:  archive recovery complete
LOG:  MultiXact member wraparound protections are now enabled
LOG:  autovacuum launcher started
LOG:  database system is ready to accept connections
waiting for server to shut down.... done
server stopped
Check archive (after #2 stop) ...
-rw-------. 1 postgres postgres 16777216 Sep 26 23:05 /tmp/pgtest/archive/000000010000000000000001
-rw-------. 1 postgres postgres 16777216 Sep 26 23:05 /tmp/pgtest/archive/000000010000000000000002
-rw-------. 1 postgres postgres      302 Sep 26 23:05 /tmp/pgtest/archive/000000010000000000000002.00000028.backup
-rw-------. 1 postgres postgres 16777216 Sep 26 23:05 /tmp/pgtest/archive/000000020000000000000002
-rw-------. 1 postgres postgres 16777216 Sep 26 23:05 /tmp/pgtest/archive/000000020000000000000003
-rw-------. 1 postgres postgres       41 Sep 26 23:05 /tmp/pgtest/archive/00000002.history
Bringing up 3d server...
Fixing configuration /tmp/pgtest/data/*
server starting
LOG:  redirecting log output to logging collector process
HINT:  Future log output will appear in directory "pg_log".

>>>==========LOG===========
cp: cannot stat ‘/tmp/pgtest/backups/000000010000000000000002’: No such file or directory
cp: cannot stat ‘/tmp/pgtest/backups/00000002.history’: No such file or directory
LOG:  selected new timeline ID: 2
cp: cannot stat ‘/tmp/pgtest/backups/00000001.history’: No such file or directory
LOG:  archive recovery complete
LOG:  MultiXact member wraparound protections are now enabled
LOG:  autovacuum launcher started
LOG:  database system is ready to accept connections
LOG:  archive command failed with exit code 1
DETAIL:  The failed archive command was: test ! -f /tmp/pgtest/archive/00000002.history && cp pg_xlog/00000002.history /tmp/pgtest/archive/00000002.history
LOG:  archive command failed with exit code 1
DETAIL:  The failed archive command was: test ! -f /tmp/pgtest/archive/00000002.history && cp pg_xlog/00000002.history /tmp/pgtest/archive/00000002.history
LOG:  archive command failed with exit code 1
DETAIL:  The failed archive command was: test ! -f /tmp/pgtest/archive/00000002.history && cp pg_xlog/00000002.history /tmp/pgtest/archive/00000002.history
WARNING:  archiving transaction log file "00000002.history" failed too many times, will try again later
<<<==========LOG===========

Check archive (after #3 start) ...
-rw-------. 1 postgres postgres 16777216 Sep 26 23:05 /tmp/pgtest/archive/000000010000000000000001
-rw-------. 1 postgres postgres 16777216 Sep 26 23:05 /tmp/pgtest/archive/000000010000000000000002
-rw-------. 1 postgres postgres      302 Sep 26 23:05 /tmp/pgtest/archive/000000010000000000000002.00000028.backup
-rw-------. 1 postgres postgres 16777216 Sep 26 23:05 /tmp/pgtest/archive/000000020000000000000002
-rw-------. 1 postgres postgres 16777216 Sep 26 23:05 /tmp/pgtest/archive/000000020000000000000003
-rw-------. 1 postgres postgres       41 Sep 26 23:05 /tmp/pgtest/archive/00000002.history
waiting for server to shut down....... done
server stopped
