Re: Is pgdump_all == pg_dumpall -g + pg_dump of individual databases ?
В списке pgsql-admin по дате отправления:
| От | Robert Treat |
|---|---|
| Тема | Re: Is pgdump_all == pg_dumpall -g + pg_dump of individual databases ? |
| Дата | |
| Msg-id | 200509231949.23261.xzilla@users.sourceforge.net обсуждение исходный текст |
| Ответ на | Is pgdump_all == pg_dumpall -g + pg_dump of individual databases ? (Rajesh Kumar Mallah <mallah@tradeindia.com>) |
| Список | pgsql-admin |
On Thursday 22 September 2005 05:14, Rajesh Kumar Mallah wrote:
> Hi ,
>
> I suppose pgdump_all creates a SQL script
> that is capable of recreating the entire database
> except for large_objects.
>
> However pgdump_all produces one single large
> SQL files and is not useful(easy) if one has to restore
> a particular table.
>
> For this reason we backup our databases individually
> using custom format and use pg_restore to restore
> individual objects as when required.
>
> My doubt is are the individual database backup files
> created through -Fc options along with an SQL file
> created using "pgdump_all -g " sufficient to recreate
> the entire database ?
>
Assuming your version of pg_dump dumps binary data with an -Fc dump, then yes.
(Check the docs if you want to verify)
--
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера