Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Re: Backup/Rest...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 12 Topic 15485 of 16987
Post > Topic >>

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

by simon@[EMAIL PROTECTED] (Simon Riggs) May 8, 2008 at 07:25 AM

On Wed, 2008-05-07 at 15:24 -0700, John Smith wrote:

> Actually, I forgot to mention one more detail in my original post.
> For the table that we're looking to backup, we also want to be able to
> do incremental backups.  pg_dump will cause the entire table to be
> dumped out each time it is invoked.
> 
> With the pg_{start,stop}_backup approach, incremental backups could be
> implemented by just rsync'ing the data files for example and applying
> the incremental WALs.   So if table foo didn't change very much since
> the first backup, we would only need to rsync a small amount of data
> plus the WALs to get an incremental backup for table foo.
> 
> Besides picking up data on unwanted tables from the WAL (e.g., bar
> would appear in our recovered database even though we only wanted
> foo), do you see any other problems with this pg_{start,stop}_backup
> approach?  Admittedly, it does seem a bit hacky.

You wouldn't be the first to ask to restore only a single table.

I can produce a custom version that does that if you like, though I'm
not sure that feature would be accepted into the main code.

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


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




 12 Posts in Topic:
Backup/Restore of single table in multi TB database
sodgodofall@[EMAIL PROTEC  2008-05-07 13:02:57 
Re: Backup/Restore of single table in multi TB database
david.t.wilson@[EMAIL PRO  2008-05-07 16:09:45 
Re: Backup/Restore of single table in multi TB database
jd@[EMAIL PROTECTED] (&q  2008-05-07 13:11:25 
Re: Backup/Restore of single table in multi TB database
jd@[EMAIL PROTECTED] (&q  2008-05-07 13:16:35 
Re: Backup/Restore of single table in multi TB database
simon@[EMAIL PROTECTED]   2008-05-07 22:28:44 
Re: Backup/Restore of single table in multi TB database
tgl@[EMAIL PROTECTED] (T  2008-05-07 17:41:01 
Re: Backup/Restore of single table in multi TB database
sodgodofall@[EMAIL PROTEC  2008-05-07 15:24:22 
Re: Backup/Restore of single table in multi TB database
simon@[EMAIL PROTECTED]   2008-05-08 07:25:16 
Ubuntu question
theqmaster@[EMAIL PROTECT  2008-05-08 01:52:17 
Re: Ubuntu question
kleptog@[EMAIL PROTECTED]  2008-05-08 09:01:02 
Re: Ubuntu question
justin@[EMAIL PROTECTED]   2008-05-08 03:48:43 
Re: Backup/Restore of single table in multi TB database
simon@[EMAIL PROTECTED]   2008-07-19 10:02:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 14 10:16:44 CDT 2008.