Re: Cloning PostgreSQL 8.3.7 - Mailing list pgsql-admin

From Jerry Sievers
Subject Re: Cloning PostgreSQL 8.3.7
Date
Msg-id 86wqbdrp1l.fsf@jerry.enova.com
Whole thread Raw
In response to Cloning PostgreSQL 8.3.7  (Tomas Ramanauskas <Tomas.Ramanauskas@springer.com>)
Responses Re: Cloning PostgreSQL 8.3.7  (Tomas Ramanauskas <Tomas.Ramanauskas@springer.com>)
List 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 by date:

Previous
From: John Scalia
Date:
Subject: Re: setting -i and -N 100 when starting postmaster
Next
From: Tom Lane
Date:
Subject: Re: setting -i and -N 100 when starting postmaster