From: Lukas <lukas@fmf.vtu.lt>
To: Achilleas Mantzios <achill@matrix.gatewaynet.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Pg_dump and bytaA
Date: Fri, 9 Mar 2007 11:00:11 +0200 (EET)
Message-ID: <57425.85.206.198.223.1173430811.squirrel@fmf.vtu.lt> (raw)
In-Reply-To: <200703091005.24820.achill@matrix.gatewaynet.com>
References: <53561.85.206.198.223.1173384127.squirrel@fmf.vtu.lt>
<200703091005.24820.achill@matrix.gatewaynet.com>
Hello,
pg_dump can avoid bloob fields (it can dumb without blobs), but as I
understand byteA is not bloob, so in this case what is blob? I did not
found such type as blob..
Lukas
> Στις Πέμπτη 08 Μάρτιος 2007 22:02, ο/η Lukas
> έγραψε:
>> Hello,
>>
>> we have one table in database (db has over 200 tables), which has one
>> byteA filed for storing user photos. We are making backup every night,
>> but
>> it is now too large because of photos. We do not need to make backup of
>> photos every night, but the question is how to backup database without
>> this field?
>> I tried to look at keys of pgdump, but found nothing...
>
> This isnt directly possible.
> You could have a mirror of the database,
> and nullify these bytea columns in the mirror db before
> taking the dump of this mirror db.
>
>>
>> Now we are using it like this:
>> pg_dump -f /home/backup/DB.sql -d -Fp -v DB
>>
>> thx
>> Lukas
>
> --
> Achilleas Mantzios
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>
> --
> This message has been scanned for viruses and
> dangerous content, and is believed to be clean.
>
>
--
This message has been scanned for viruses and
dangerous content, and is believed to be clean.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: lukas@fmf.vtu.lt, achill@matrix.gatewaynet.com
Subject: Re: Pg_dump and bytaA
In-Reply-To: <57425.85.206.198.223.1173430811.squirrel@fmf.vtu.lt>
References: <53561.85.206.198.223.1173384127.squirrel@fmf.vtu.lt> <200703091005.24820.achill@matrix.gatewaynet.com> <57425.85.206.198.223.1173430811.squirrel@fmf.vtu.lt>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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