Re: Apply WAL logs after database restore
От | Guillaume Lelarge |
---|---|
Тема | Re: Apply WAL logs after database restore |
Дата | |
Msg-id | 4B7DBCE6.3060007@lelarge.info обсуждение исходный текст |
Ответ на | Apply WAL logs after database restore (Brad Littlejohn <blittlejohn@posportal.com>) |
Список | pgsql-admin |
Le 18/02/2010 22:56, Brad Littlejohn a écrit : > [...] > I'm pretty sure that this is a FAQ here, but I'll ask it, just to get confirmation on what I need to do. > > I have a database sitting on a box running PostgreSQL 8.4, checking in at 190GB. I performed a backup of the database,using pg_dump to get the data out of the database. This is a full level 0 backup of the database. I have WAL-basedlog shipping enabled on that server. > > I just created a second database server that will be a recovery server, compiled and installed PostgreSQL onto it, andrestored the full backup taken from the primary database onto it. Since this wasn't a base backup (using tar, cpio, etc.),how would I apply the WAL logs to this secondary server, to get it up to current? All of the documentation I've readso far uses a base backup. Is there any way to apply the logs generated since that backup created by pg_dump to get thesecondary database up to current? > Nope, you cannot do that. -- Guillaume. http://www.postgresqlfr.org http://dalibo.com
В списке pgsql-admin по дате отправления: