…mich auch. Ich habe hier stundenlang herumgebastelt und kein Ergebnis in puncto File-Liste bekommen. Egal was ich als pg_standby eingetragen habe, nix hat funktioniert. Ich weiß immernoch nicht, welche Files das Restore haben will. Ich hier für jede Hilfe dankbar.
Noch einige Rahmenparameter:
a. Wie gewünscht höheres Debuglevel (5):
2009-10-22 21:23:40 CEST DEBUG: 00000: forked new backend, pid=1524 socket=1312
2009-10-22 21:23:40 CEST LOCATION: BackendStartup, .\src\backend\postmaster\postmaster.c:2861
2009-10-22 21:23:40 CEST LOG: 00000: database system was interrupted; last known up at 2009-10-22 21:16:52 CEST
2009-10-22 21:23:40 CEST LOCATION: StartupXLOG, .\src\backend\access\transam\xlog.c:4839
2009-10-22 21:23:40 CEST LOG: 00000: starting archive recovery
2009-10-22 21:23:40 CEST LOCATION: readRecoveryCommandFile, .\src\backend\access\transam\xlog.c:4377
2009-10-22 21:23:40 CEST LOG: 00000: restore_command = 'pg_standby -c -d -s 5 -t C:\pgsql.trigger.5442 C:\Programme\PostgreSQL\8.3\wal-archive\ %f %p %r 2>>pg_log\pg_standby.log'
2009-10-22 21:23:40 CEST LOCATION: readRecoveryCommandFile, .\src\backend\access\transam\xlog.c:4423
2009-10-22 21:23:40 CEST DEBUG: 00000: executing restore command "pg_standby -c -d -s 5 -t C:\pgsql.trigger.5442 C:\Programme\PostgreSQL\8.3\wal-archive\ 00000001.history pg_xlog\RECOVERYHISTORY 000000000000000000000000 2>>pg_log\pg_standby.log"
2009-10-22 21:23:40 CEST LOCATION: RestoreArchivedFile, .\src\backend\access\transam\xlog.c:2569
2009-10-22 21:23:40 CEST LOG: 00000: loaded library "$libdir/plugins/plugin_debugger.dll"
2009-10-22 21:23:40 CEST LOCATION: load_libraries, .\src\backend\utils\init\miscinit.c:1187
2009-10-22 21:23:40 CEST FATAL: 57P03: the database system is starting up
2009-10-22 21:23:40 CEST LOCATION: ProcessStartupPacket, .\src\backend\postmaster\postmaster.c:1648
2009-10-22 21:23:40 CEST DEBUG: 00000: proc_exit(1)
2009-10-22 21:23:40 CEST LOCATION: proc_exit, .\src\backend\storage\ipc\ipc.c:98
2009-10-22 21:23:40 CEST DEBUG: 00000: shmem_exit(1)
2009-10-22 21:23:40 CEST LOCATION: shmem_exit, .\src\backend\storage\ipc\ipc.c:164
2009-10-22 21:23:40 CEST DEBUG: 00000: exit(1)
2009-10-22 21:23:40 CEST LOCATION: proc_exit, .\src\backend\storage\ipc\ipc.c:116
2009-10-22 21:23:40 CEST DEBUG: 00000: reaping dead processes
2009-10-22 21:23:40 CEST LOCATION: reaper, .\src\backend\postmaster\postmaster.c:2093
2009-10-22 21:23:40 CEST DEBUG: 00000: server process (PID 1524) exited with exit code 1
2009-10-22 21:23:40 CEST LOCATION: LogChildExit, .\src\backend\postmaster\postmaster.c:2520
2009-10-22 21:23:40 CEST FATAL: XX000: could not restore file "00000001.history" from archive: return code -1073741811
2009-10-22 21:23:40 CEST LOCATION: RestoreArchivedFile, .\src\backend\access\transam\xlog.c:2639
2009-10-22 21:23:40 CEST DEBUG: 00000: proc_exit(1)
2009-10-22 21:23:40 CEST LOCATION: proc_exit, .\src\backend\storage\ipc\ipc.c:98
2009-10-22 21:23:40 CEST DEBUG: 00000: shmem_exit(1)
2009-10-22 21:23:40 CEST LOCATION: shmem_exit, .\src\backend\storage\ipc\ipc.c:164
2009-10-22 21:23:40 CEST DEBUG: 00000: exit(1)
2009-10-22 21:23:40 CEST LOCATION: proc_exit, .\src\backend\storage\ipc\ipc.c:116
2009-10-22 21:23:40 CEST DEBUG: 00000: reaping dead processes
2009-10-22 21:23:40 CEST LOCATION: reaper, .\src\backend\postmaster\postmaster.c:2093
2009-10-22 21:23:40 CEST LOG: 00000: startup process (PID 3404) exited with exit code 1
2009-10-22 21:23:40 CEST LOCATION: LogChildExit, .\src\backend\postmaster\postmaster.c:2520
2009-10-22 21:23:40 CEST LOG: 00000: aborting startup due to startup process failure
2009-10-22 21:23:40 CEST LOCATION: reaper, .\src\backend\postmaster\postmaster.c:2113
2009-10-22 21:23:40 CEST DEBUG: 00000: proc_exit(1)
2009-10-22 21:23:40 CEST LOCATION: proc_exit, .\src\backend\storage\ipc\ipc.c:98
2009-10-22 21:23:40 CEST DEBUG: 00000: shmem_exit(1)
2009-10-22 21:23:40 CEST LOCATION: shmem_exit, .\src\backend\storage\ipc\ipc.c:164
2009-10-22 21:23:40 CEST DEBUG: 00000: exit(1)
2009-10-22 21:23:40 CEST LOCATION: proc_exit, .\src\backend\storage\ipc\ipc.c:116
2009-10-22 21:23:41 CEST DEBUG: 00000: logger shutting down
2009-10-22 21:23:41 CEST LOCATION: SysLoggerMain, .\src\backend\postmaster\syslogger.c:435
2009-10-22 21:23:41 CEST DEBUG: 00000: proc_exit(0)
2009-10-22 21:23:41 CEST LOCATION: proc_exit, .\src\backend\storage\ipc\ipc.c:98
2009-10-22 21:23:41 CEST DEBUG: 00000: shmem_exit(0)
2009-10-22 21:23:41 CEST LOCATION: shmem_exit, .\src\backend\storage\ipc\ipc.c:164
2009-10-22 21:23:41 CEST DEBUG: 00000: exit(0)
2009-10-22 21:23:41 CEST LOCATION: proc_exit, .\src\backend\storage\ipc\ipc.c:116
Meiner Meinung nach, ist dies interessant:
2009-10-22 21:23:40 CEST DEBUG: 00000: executing restore command "pg_standby -c -d -s 5 -t C:\pgsql.trigger.5442 C:\Programme\PostgreSQL\8.3\wal-archive\ 00000001.history pg_xlog\RECOVERYHISTORY 000000000000000000000000 2>>pg_log\pg_standby.log"
Das ist die recovery.conf :
restore_command = 'pg_standby -c -d -s 5 -t C:\pgsql.trigger.5442 C:\Programme\PostgreSQL\8.3\wal-archive\ %f %p %r 2>>pg_log\pg_standby.log'
Das ist backup_label:
START WAL LOCATION: 0/75000020 (file 000000010000000000000075)
CHECKPOINT LOCATION: 0/75000020
START TIME: 2009-10-22 21:16:53 CEST
LABEL: basebackup3
Ich habe organistorisch nun auch die WAL-Files direkt/phyikalisch auf dem Slave-Server liegen, schreib/lese-Rechte für postgres.
Diese Datei 00000001.history, das ist doch die Timeline-Datei, oder? Was will denn das recovern damit? Davon steht nix in der backup_label…
Schönen Abend noch, danke,
murphy