Re: restoring a table after an online backup

Поиск
Список
Период
Сортировка
От Prashanth Ranjalkar
Тема Re: restoring a table after an online backup
Дата
Msg-id CAMBytETy7dJhmzEEAOCkUat5Y7WMxcALcCKM_pSUPRezWK2c0w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: restoring a table after an online backup  ("Gilberto Castillo" <gilberto.castillo@etecsa.cu>)
Список 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
Skype:prashanth.ranjalkar


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


В списке pgsql-admin по дате отправления:

Предыдущее
От: "Gilberto Castillo"
Дата:
Сообщение: Re: restoring a table after an online backup
Следующее
От: Eduardo Morras
Дата:
Сообщение: Re: 9.2.2 - semop hanging