pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: bhanu udaya <udayabhanu1984@hotmail.com>
To: Albe Laurenz <laurenz.albe@wien.gv.at>
To: Chris Travers <chris.travers@gmail.com>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: François Beausoleil <francois@teksol.info>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: pg_Restore
Date: Mon, 21 Jan 2013 21:45:32 +0530
Message-ID: <COL002-W65BF20CCAC9D601DA4B51ED3170@phx.gbl> (raw)
In-Reply-To: <A737B7A37273E048B164557ADEF4A58B0579C1CE@ntex2010a.host.magwien.gv.at>
References: <COL002-W91D920E81B347335FEE275D3100@phx.gbl>
	<COL002-W617531EF00D8D476E3F90CD3170@phx.gbl>
	<205AA39F-C998-4628-9AE9-430C4061CDF8@teksol.info>
	<COL002-W85138B69892E14D07066A5D3170@phx.gbl>
	<CABUevEze1gmkq1eXzF=tHkpyUXYDz6TjjT8KhwgRUhDReyXmvg@mail.gmail.com>
	<COL002-W496618C32835A9B194AE07D3170@phx.gbl>
	<A737B7A37273E048B164557ADEF4A58B0579BFDF@ntex2010a.host.magwien.gv.at>
	<CAKt_Zfty6HDmEhU+-Jue+s8Q5u8vfPJrbQnNA5O4ROhtpWXKCQ@mail.gmail.com>
	<COL002-W40742820203F6CA7F83992D3170@phx.gbl>
	<A737B7A37273E048B164557ADEF4A58B0579C1CE@ntex2010a.host.magwien.gv.at>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

Hello,Thanks all for the great help. Template is very good option so far seen. It comes little quickly than pg_restore. But, this also takes 40 minutes time. I am using Windows with 4GB Ram.   Thanks and RegardsRadha Krishna
 > From: laurenz.albe@wien.gv.at
> To: udayabhanu1984@hotmail.com; chris.travers@gmail.com
> CC: magnus@hagander.net; francois@teksol.info; pgsql-general@postgresql.org
> Subject: RE: [GENERAL] pg_Restore
> Date: Mon, 21 Jan 2013 15:19:45 +0000
> 
> bhanu udaya wrote:
> > Can you please let me know the procedure for Template. Will it restore the data also
> > .
> 
> It will create a complete copy of an existing database
> 
> The procedure is
> CREATE DATABASE newdb TEMPLATE olddb;
> 
> Nobody may be connected to olddb for this to work.
> 
> Yours,
> Laurenz Albe
 		 	   		  =

view thread (67+ messages)  latest in thread

Message-ID: <COL002-W65BF20CCAC9D601DA4B51ED3170@phx.gbl>
Permalink:  ../COL002-W65BF20CCAC9D601DA4B51ED3170@phx.gbl/
Also on:    postgresql.org/message-id/COL002-W65BF20CCAC9D601DA4B51ED3170@phx.gbl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: udayabhanu1984@hotmail.com, laurenz.albe@wien.gv.at, chris.travers@gmail.com, magnus@hagander.net, francois@teksol.info
  Subject: Re: pg_Restore
  In-Reply-To: <COL002-W65BF20CCAC9D601DA4B51ED3170@phx.gbl>
  References: <COL002-W91D920E81B347335FEE275D3100@phx.gbl> <COL002-W617531EF00D8D476E3F90CD3170@phx.gbl> <205AA39F-C998-4628-9AE9-430C4061CDF8@teksol.info> <COL002-W85138B69892E14D07066A5D3170@phx.gbl> <CABUevEze1gmkq1eXzF=tHkpyUXYDz6TjjT8KhwgRUhDReyXmvg@mail.gmail.com> <COL002-W496618C32835A9B194AE07D3170@phx.gbl> <A737B7A37273E048B164557ADEF4A58B0579BFDF@ntex2010a.host.magwien.gv.at> <CAKt_Zfty6HDmEhU+-Jue+s8Q5u8vfPJrbQnNA5O4ROhtpWXKCQ@mail.gmail.com> <COL002-W40742820203F6CA7F83992D3170@phx.gbl> <A737B7A37273E048B164557ADEF4A58B0579C1CE@ntex2010a.host.magwien.gv.at> <COL002-W65BF20CCAC9D601DA4B51ED3170@phx.gbl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox