Re: Cloning PostgreSQL 8.3.7

Поиск
Список
Период
Сортировка
От Jerry Sievers
Тема Re: Cloning PostgreSQL 8.3.7
Дата
Msg-id 86wqbdrp1l.fsf@jerry.enova.com
обсуждение исходный текст
Ответ на Cloning PostgreSQL 8.3.7  (Tomas Ramanauskas <Tomas.Ramanauskas@springer.com>)
Ответы Re: Cloning PostgreSQL 8.3.7  (Tomas Ramanauskas <Tomas.Ramanauskas@springer.com>)
Список pgsql-admin
Tomas Ramanauskas <Tomas.Ramanauskas@springer.com> writes:

> Hi, guys,
>
> Im new to PostgreSQL and Im currently involved in cloning PostgreSQL 8.3.7 to a different server (as a first step of
migrationto 9.3 version project). 
>
> Im able to clone the db server and everything is working, but Im not entirely sure how manual application of WAL
filesworks /  is triggered. 
>
> After DB is cloned, I want to apply all the changes since the database was cloned.
>
> I want to do it as a one-off operation, I dont want to create warm standby. I also want to verify and make sure that
allWAL files got applied. 

You are describing a hot-backup and point in time recovery  which is
well documented in   the standard Pg doc set.

You will replay all available WALs and your clone will come online at
that point.

<>
> Im not sure if PG applies all the WAL files it finds in pg_xlog or I need to run a specific command to do that?
>
> I just copied all the WAL files to pg_xlog and started PG, but there is nothing in the log files indicating that WAL
filesactually got applied. 
>
> I also posted same question also here:
>
> https://stackoverflow.com/questions/24784042/cloning-postgresql-8-3-7
>
> Kind regards,
>
> Tomas
>

--
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres.consulting@comcast.net
p: 312.241.7800


В списке pgsql-admin по дате отправления:

Предыдущее
От: John Scalia
Дата:
Сообщение: Re: setting -i and -N 100 when starting postmaster
Следующее
От: Tom Lane
Дата:
Сообщение: Re: setting -i and -N 100 when starting postmaster