Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X7WQB-0005nT-9K for pgsql-admin@arkaria.postgresql.org; Wed, 16 Jul 2014 21:07:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1X7WQA-0005Lz-7N for pgsql-admin@arkaria.postgresql.org; Wed, 16 Jul 2014 21:07:26 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X7WQ7-0005Ln-Rw for pgsql-admin@postgresql.org; Wed, 16 Jul 2014 21:07:24 +0000 Received: from qmta14.emeryville.ca.mail.comcast.net ([2001:558:fe2d:44:76:96:27:212]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X7WPz-0003OH-Jl for pgsql-admin@postgresql.org; Wed, 16 Jul 2014 21:07:21 +0000 Received: from omta16.emeryville.ca.mail.comcast.net ([76.96.30.72]) by qmta14.emeryville.ca.mail.comcast.net with comcast id T7wh1o0061ZMdJ4AE97D65; Wed, 16 Jul 2014 21:07:13 +0000 Received: from jerry.enova.com ([38.98.177.132]) by omta16.emeryville.ca.mail.comcast.net with comcast id T9721o00e2rmZlA8c975n5; Wed, 16 Jul 2014 21:07:11 +0000 Received: by jerry.enova.com (Postfix, from userid 1001) id 9628F7401E7; Wed, 16 Jul 2014 16:07:02 -0500 (CDT) From: Jerry Sievers To: Tomas Ramanauskas Cc: "pgsql-admin\@postgresql.org" Subject: Re: Cloning PostgreSQL 8.3.7 References: <942E714F114739429A83333F735F7A85195CDA36@senldogo0752.springer-sbm.com> Date: Wed, 16 Jul 2014 16:07:02 -0500 In-Reply-To: <942E714F114739429A83333F735F7A85195CDA36@senldogo0752.springer-sbm.com> (Tomas Ramanauskas's message of "Wed, 16 Jul 2014 16:34:10 +0000") Message-ID: <86wqbdrp1l.fsf@jerry.enova.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1405544833; bh=v04Kv7nxt9wCyP38tkFWuIjqyhOwfXrnZ35yLzrvy9M=; h=Received:Received:Received:From:To:Subject:Date:Message-ID: MIME-Version:Content-Type; b=t3xPxk59T4y/3v9UtnjT4zReCpiXJHxLPTseRJRTglxE3LZMonqJABcmpWqPi3OfU CLMgskDTdRTYb0j6Uz2Rb9A35ABVd0qH6gepSEedK/RJLuKlk7/SY63JOtYe5pWeIo uiaN5TXZkj1JiB7Njs989XXr7l+S8mum/fGpYYJAWZk6C6O+fu46IShyg9tpzLKsjJ f1V2nOXZL2Du3uz+QKOfQQml4H/JgjAEQNqabgsl9PftLoG+iudLM3sr06GlQAh4H+ vlahGHeOwiqqMOgUc7FAzlzQqz0Mf+0/cwDGWGo+puu2u+8R9G0vWj0KoQ4OP5L01O Ow71v1oqPbn0g== X-Pg-Spam-Score: -0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Tomas Ramanauskas 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.consulting@comcast.net p: 312.241.7800 -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin