pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedAnother backup q
2+ messages / 2 participants
[nested] [flat]
* Another backup q
@ 2001-01-11 11:10 Halford Dace <hdace@bluedot.co.za>
0 siblings, 1 reply; 2+ messages in thread
From: Halford Dace @ 2001-01-11 11:10 UTC (permalink / raw)
To: pgsql-admin
Hi all,
After a year or so of programming with it, I've become a serious Pg fan.
However, I have one quibble / query.
Many of my applications use large objects to store images, text chunks
etc. etc. This works very well, and certainly has adequate performance
for anything I've ever tried to do with it.
However, what rather terrifies me is that pg_dump seems only to store the
oid field in the dump, and not the content of the LO itself.
(Oh, I'm using PostgreSQL 6.5.2 at the moment, but will be upgrading into
the 7.x range shortly).
Of course, I could write a program to back up the full content of any
given database, but right now I can't think of a generalised way to do
this for any given DB.
So, does anyone know a solution? Or am I missing something? I get
nervous having production DBs which I can't back up.
Regards,
Hal
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Another backup q
@ 2001-01-15 00:34 Tom Lane <tgl@sss.pgh.pa.us>
parent: Halford Dace <hdace@bluedot.co.za>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2001-01-15 00:34 UTC (permalink / raw)
To: Halford Dace <hdace@bluedot.co.za>; +Cc: pgsql-admin
Halford Dace <hdace@bluedot.co.za> writes:
> However, what rather terrifies me is that pg_dump seems only to store the
> oid field in the dump, and not the content of the LO itself.
You're quite right: pg_dump does NOT back up large objects.
(7.1's pg_dump will, but 7.0 and before don't.)
There is a pg_dumplo utility in current sources, a bit late :-(.
I have attached a copy of it that is modified to work with 7.0,
and I think it will work with 6.5, but I don't have a running 6.5
server to check with. Test it out and let us know ...
regards, tom lane
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2001-01-15 00:34 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-01-11 11:10 Another backup q Halford Dace <hdace@bluedot.co.za>
2001-01-15 00:34 ` 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