Re: Restore database from tablespace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 28, 2010 at 9:56 AM, Kevin Grittner
<Kevin.Grittner@xxxxxxxxxxxx> wrote:
> "dev.pho" <dev.pho@xxxxxxxxx> wrote:
>
>> I was wondering if I could restore the database from the location
>> of the tablespace.
>
> It's not clear exactly what you want to do.  Have you read through
> the documentation on backup and restore?:

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

Could the mechanics behind pg_start_backup() assist with the
development of such a feature?

It's just a rough idea.

Greg

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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux