pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_dump and blobs
2+ messages / 2 participants
[nested] [flat]

* pg_dump and blobs
@ 2008-01-02 15:53  Ignas Ðaltis <saltis.ignas@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Ignas Ðaltis @ 2008-01-02 15:53 UTC (permalink / raw)
  To: pgsql-admin

Hello,

I have upgraded from postgreSQL version 7.3.6 to 8.2.4 few days ago.
Everything works perfectly, but I have strange problem with backup.

My database contains blob's, but i was not doing backup with blobs every
day. I am doing daily backup with command : pg_dump -U user_name
database_name > filename

it was making backup without blobs, but now it includes blobs to the backup
and I get huge file.

How can I make dump without blobs?

Thanks in advance.

Ignas

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pg_dump and blobs
@ 2008-01-02 16:44  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Ignas Ðaltis <saltis.ignas@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2008-01-02 16:44 UTC (permalink / raw)
  To: Ignas Ðaltis <saltis.ignas@gmail.com>; +Cc: pgsql-admin

"=?ISO-8859-13?Q?Ignas_=D0altis?=" <saltis.ignas@gmail.com> writes:
> How can I make dump without blobs?

Per the manual:

-b
--blobs

Include large objects in the dump. This is the default behavior except
when --schema, --table, or --schema-only is specified, so the -b switch
is only useful to add large objects to selective dumps.


			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2008-01-02 16:44 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-01-02 15:53 pg_dump and blobs Ignas Ðaltis <saltis.ignas@gmail.com>
2008-01-02 16:44 ` Tom Lane <tgl@sss.pgh.pa.us>

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