Quantcast
Channel: Question and Answer » postgresql
Viewing all articles
Browse latest Browse all 1138

Could not locate a valid checkpoint record postgres

$
0
0

I have a database postgres in windows server and two slaves for reading.

I need do Incremental Backup.
What I’ve done:
– Create Base Backup from pg_basebackup
– Save WAL files

Restore
What remains to do:
– I deleted (manually) all folder ´data´ (ok)
– I deleted files in pg_xlog/of backup (ok)
– I copy and paste folder data generated by backup in server
– I configure recovery.conf
– I go on ‘services’ and start

This is log:

2015-11-11 17:57:18 BRT LOG: database system was interrupted; last known up at 2015-11-09 18:48:18 BRT
2015-11-11 17:57:18 BRT LOG: creating missing WAL directory "pg_xlog/archive_status"
2015-11-11 17:57:19 BRT FATAL: the database system is starting up
2015-11-11 17:57:19 BRT LOG: starting archive recovery
2015-11-11 17:57:19 BRT LOG: invalid primary checkpoint record
2015-11-11 17:57:19 BRT LOG: invalid secondary checkpoint record
2015-11-11 17:57:19 BRT PANIC: could not locate a valid checkpoint record
2015-11-11 17:57:19 BRT LOG: processo de inicialização (PID 2060) foi terminado pela exceção 0xC0000409
2015-11-11 17:57:19 BRT DICA: Veja o arquivo de cabeçalho C "ntstatus.h" para obter uma descrição do valor hexadecimal.
2015-11-11 17:57:19 BRT LOG: interrompendo inicialização porque o processo de inicialização falhou

Anyone know how to solve?


Viewing all articles
Browse latest Browse all 1138

Trending Articles