Search Postgresql Archives

Re: How to create directory format backup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!


How to create backup in format from which tables can selectively restored?
Dump as custom-format archive (-F custom) and use that with pg_restore and
options --table or --list/--use-list to select what should be restored.

How to select tables interactively like pgAdmin allows to select when directory format is used ?

Database contains hundreds of schemas. I need to restore public and other other schema.

Whole backup file is scanned to restore only two schemas. It takes lot of time.

Also directory format allows to use all cores with --jobs=32 parameter. Dump and partial restore using custom format are much slower.

Andrus.


--
Erik

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux