pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
restoring a table after an online backup
3+ messages / 3 participants
[nested] [flat]

* restoring a table after an online backup
@ 2013-07-15 13:02  Bert <biertie@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Bert @ 2013-07-15 13:02 UTC (permalink / raw)
  To: pgsql-admin

Hello,

I was just wondering: Is it possible to restore a specific table from an
online backup?
Or is it only possible if we first restore the backup, replay all the logs,
and then take the table files?

wkr,

Bert Desmet

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: restoring a table after an online backup
@ 2013-07-15 13:19  Gilberto Castillo <gilberto.castillo@etecsa.cu>
  parent: Bert <biertie@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Gilberto Castillo @ 2013-07-15 13:19 UTC (permalink / raw)
  To: Bert <biertie@gmail.com>; +Cc: pgsql-admin



> Hello,
>
> I was just wondering: Is it possible to restore a specific table from an
> online backup?
> Or is it only possible if we first restore the backup, replay all the
> logs,
> and then take the table files?
>

It depends on how you do the copy. To do comados with SQL, you can find to
with the sql of the table you want.

Saludos,
Gilberto Castillo
La Habana, Cuba
--- 
This message was processed by Kaspersky Mail Gateway 5.6.28/RELEASE running at host imx3.etecsa.cu
Visit our web-site: <http://www.kaspersky.com;, <http://www.viruslist.com;

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

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: restoring a table after an online backup
@ 2013-07-15 13:35  Prashanth Ranjalkar <prashant.ranjalkar@gmail.com>
  parent: Gilberto Castillo <gilberto.castillo@etecsa.cu>
  0 siblings, 0 replies; 3+ messages in thread

From: Prashanth Ranjalkar @ 2013-07-15 13:35 UTC (permalink / raw)
  To: gilberto.castillo@etecsa.cu; +Cc: Bert <biertie@gmail.com>; pgsql-admin

>
>  > Hello,
> >
> > I was just wondering: Is it possible to restore a specific table from an
> > online backup?
> > Or is it only possible if we first restore the backup, replay all the
> > logs,
> > and then take the table files?
> >
>
> It depends on how you do the copy. To do comados with SQL, you can find to
> with the sql of the table you want.
>
> Saludos,
> Gilberto Castillo
> La Habana, Cuba



The online backups are file system level backups therefore single table
restoration is not possible however possible to restore the specific table
from the logical backups (pg_dump) if you have. In case of online backups,
it's best practice to restore the online backup on a test system and
perform PITR. After successful restoration, take the dump of the specific
table and restore it on the production.

*Thanks & Regards,*
*** *
*Prashanth Ranjalkar*
*Database Consultant & Architect*
*Email:prashant.ranjalkar@gmail.com*
*Skype:prashanth.ranjalkar*
*www.postgresdba.net*


On Mon, Jul 15, 2013 at 6:49 PM, Gilberto Castillo <
> gilberto.castillo@etecsa.cu> wrote:
>
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
>
>

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2013-07-15 13:35 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-07-15 13:02 restoring a table after an online backup Bert <biertie@gmail.com>
2013-07-15 13:19 ` Gilberto Castillo <gilberto.castillo@etecsa.cu>
2013-07-15 13:35   ` Prashanth Ranjalkar <prashant.ranjalkar@gmail.com>

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