From: | Arnaud Lesauvage <thewild(at)freesurf(dot)fr> |
---|---|
To: | Richard Huxton <dev(at)archonet(dot)com>, Postgres general mailing list <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: pg_dump : option --exclude-schema not recognized |
Date: | 2006-11-17 11:31:33 |
Message-ID: | 455D9D95.5020506@freesurf.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Richard Huxton a écrit :
> Arnaud Lesauvage wrote:
>> Richard Huxton a écrit :
>>> Arnaud Lesauvage wrote:
>>>> Hi all !
>>>>
>>>> I am trying to exclude just one schema of my dump.
>>>>
>>>> pg_dump -N myschema
>>>> or
>>>> pg_dump --exclude-schema=myschema
>>>> both tell me that the option is unknown.
>>>
>>> It's not in 8.1 - you must have been reading the 8.2 docs
>>> http://www.postgresql.org/docs/8.1/static/app-pgdump.html
>>
>> Most probably !
>> Thanks for pointing this out. I'll have to be patient then !
>
> You can always exclude individual items on restore using pg_restore's
> --list / --use-list options though.
Yes, but I wanted to limit the size of the dump : I have a
schema containing a lot of spatial entities, very big and
useless in a backup.
I will keep dumping the schemas one by one for now, it's fine.
Thanks again !
From | Date | Subject | |
---|---|---|---|
Next Message | Gregory S. Williamson | 2006-11-17 14:17:02 | Re: Eliminating bad characters from a database for upgrading from 7.4 to 8.1 |
Previous Message | surabhi.ahuja | 2006-11-17 11:23:10 | Re: dependency on 32 bit libpq.so on 64 bit Postgres server. |