Re: How to backup db with large objects?

From: "Robert B(dot) Easter" <reaster(at)comptechnews(dot)com>
To: "Ignas Saltis" <ignas(dot)saltis(at)sintegra(dot)lt>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to backup db with large objects?
Date: 2000-06-06 15:04:40
Message-ID: 00060611075309.18270@comptechnews
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 06 Jun 2000, Ignas Saltis wrote:
> Hello,
>
> I have database with large objects?
>
> I did following:
>
> pg_dump database1 > database.out
> createdb database2
> psql -e database2 < database.out
>
> And I can not access any large objects on database2.
>
>
> database2=# select lo_export(picture_immage, '/home/postgres/image2.jpg')
> from pictures where picture_id = 6;
> ERROR: Relation 390625 does not exist
>
>
>
> Do I need to make backup using some special ways?
> I can't find anything in docs.
>
> Any suggestions.

pg_dump/all do not dump the large objects (AFAIK).

ftp://ftp2.zf.jcu.cz/users/zakkr/pg/pg_dumplo-0.0.4.tar.gz
might help you

--
Robert B. Easter
reaster(at)comptechnews(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-06-06 16:10:50 Re: Precision of calculated numeric fields
Previous Message Patrick Welche 2000-06-06 14:22:54 Re: 32KB Tuples