Re: pg_Restore

From: bhanu udaya <udayabhanu1984(at)hotmail(dot)com>
To: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, Chris Travers <chris(dot)travers(at)gmail(dot)com>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, François Beausoleil <francois(at)teksol(dot)info>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_Restore
Date: 2013-01-21 16:15:32
Message-ID: COL002-W65BF20CCAC9D601DA4B51ED3170@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support pgsql-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(dot)albe(at)wien(dot)gv(dot)at
> To: udayabhanu1984(at)hotmail(dot)com; chris(dot)travers(at)gmail(dot)com
> CC: magnus(at)hagander(dot)net; francois(at)teksol(dot)info; pgsql-general(at)postgresql(dot)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

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message bhanu udaya 2013-01-21 16:46:00 Re: pg_Restore
Previous Message Alan Hodgson 2013-01-21 16:10:16 Re: pg_Restore

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2013-01-21 16:17:01 Re: Case insensitive collation
Previous Message Kevin Grittner 2013-01-21 16:10:55 Re: not(t_xmax = 0)