Skip site navigation (1) Skip section navigation (2)

Re: Restore database from tablespace

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Greg Spiegelberg" <gspiegelberg(at)gmail(dot)com>
Cc: "dev(dot)pho" <dev(dot)pho(at)gmail(dot)com>,<pgsql-admin(at)postgresql(dot)org>
Subject: Re: Restore database from tablespace
Date: 2010-01-28 23:26:03
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
Greg Spiegelberg <gspiegelberg(at)gmail(dot)com> wrote:
> I don't know if this was the intent but it did provide me with
> what I thought was a good idea.
>  * Snapshot a schema / tablespace / database to another schema /
> tablespace / database.
> The applications for this could be
>  * an alternative to the existing backup methods
>  * using the copy for testing purposes without having to
>    create-drop database
>  * providing stock data for application demos without fear of
>    losing the original
>  * quick recovery to a known good schema and data
I'm still not sure I follow, but there's a technique which isn't
worth much for backup proper, but can be a good way to repeatedly
get to a consistent starting point for tests in some circumstances. 
You can do that once to capture a starting point for testing.  You
can drop the testing database and re-create at will.
If this and the various backup techniques don't do what you want,
I'm at a loss.  I think you'd need to post something a bit more
concrete for me to understand what you mean.

In response to


pgsql-admin by date

Next:From: Reggie EuserDate: 2010-01-29 15:14:29
Subject: Re: CentOS & PostgreSQL help re: TIME_WAIT
Previous:From: Greg SpiegelbergDate: 2010-01-28 21:11:03
Subject: Re: Restore database from tablespace

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group