Re: Backup/Restore of single table in multi TB database

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: John Smith <sodgodofall(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Backup/Restore of single table in multi TB database
Date: 2008-05-07 21:28:44
Message-ID: 1210195724.4268.231.camel@ebony.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-performance

On Wed, 2008-05-07 at 13:02 -0700, John Smith wrote:

> I have a large database (multiple TBs) where I'd like to be able to do
> a backup/restore of just a particular table (call it foo). Because
> the database is large, the time for a full backup would be
> prohibitive. Also, whatever backup mechanism we do use needs to keep
> the system online (i.e., users must still be allowed to update table
> foo while we're taking the backup).

Have a look at pg_snapclone. It's specifically designed to significantly
improve dump times for very large objects.

http://pgfoundry.org/projects/snapclone/

--
Simon Riggs
2ndQuadrant http://www.2ndQuadrant.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-05-07 21:38:12 Re: pg_dumpall: pg_conversion table not saved
Previous Message Joshua D. Drake 2008-05-07 20:16:35 Re: Backup/Restore of single table in multi TB database

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2008-05-07 21:41:01 Re: Backup/Restore of single table in multi TB database
Previous Message Joshua D. Drake 2008-05-07 20:16:35 Re: Backup/Restore of single table in multi TB database