pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Eduardo Morras <emorrasg@yahoo.es>
To: pgsql-general@postgresql.org
Subject: Re: pg_Restore
Date: Wed, 30 Jan 2013 12:39:15 +0100
Message-ID: <20130130123915.1b023882299024d47c0fe4d8@yahoo.es> (raw)
In-Reply-To: <COL002-W1134355C651D414351A5F63D3170@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>
	<COL002-W1134355C651D414351A5F63D3170@phx.gbl>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

On Mon, 21 Jan 2013 22:16:00 +0530
bhanu udaya <udayabhanu1984@hotmail.com> wrote:

> Hello All,
>  Can we achieve this template or pg_Restore in less than 20 minutes time. Any more considerations. Kindly reply. Thanks and RegardsRadha Krishna From: udayabhanu1984@hotmail.com

Perhaps you can use the ntfs snapshot feature. 

a) Create the db with the data you want
b) Shutdown PostgreSql completly
c) Go to data folder, properties, make a recover point
d) Start PostgreSql
f) Work with it
g) Stop PostgreSql
h) Go to data folder, properties, recover the previous version
i) Go to d)

Don't know exactly the name of the ntfs property, if i remember well it's recover point, but haven't used Windows for a while.

Perhaps other folders should be set to recover.

It's easy with this "feature" shoot your own feet (yes, in plural). If something wrong happens recover from the dump.

HTH


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



view thread (67+ messages)  latest in thread

Message-ID: <20130130123915.1b023882299024d47c0fe4d8@yahoo.es>
Permalink:  ../20130130123915.1b023882299024d47c0fe4d8@yahoo.es/
Also on:    postgresql.org/message-id/20130130123915.1b023882299024d47c0fe4d8@yahoo.es

 · 

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: emorrasg@yahoo.es
  Subject: Re: pg_Restore
  In-Reply-To: <20130130123915.1b023882299024d47c0fe4d8@yahoo.es>
  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> <COL002-W1134355C651D414351A5F63D3170@phx.gbl> <20130130123915.1b023882299024d47c0fe4d8@yahoo.es>

* 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