From: | Jerry Sievers <gsievers19(at)comcast(dot)net> |
---|---|
To: | Tomas Ramanauskas <Tomas(dot)Ramanauskas(at)springer(dot)com> |
Cc: | "pgsql-admin\(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Cloning PostgreSQL 8.3.7 |
Date: | 2014-07-16 21:07:02 |
Message-ID: | 86wqbdrp1l.fsf@jerry.enova.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Tomas Ramanauskas <Tomas(dot)Ramanauskas(at)springer(dot)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 migration to 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 files works / 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 all WAL 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 files actually 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(dot)consulting(at)comcast(dot)net
p: 312.241.7800
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2014-07-16 22:05:26 | Re: setting -i and -N 100 when starting postmaster |
Previous Message | John Scalia | 2014-07-16 20:16:04 | Re: setting -i and -N 100 when starting postmaster |