pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedpostsgresql-dump not found in install
4+ messages / 3 participants
[nested] [flat]
* postsgresql-dump not found in install
@ 2002-12-29 20:06 Tony Ziolkowski <aziolk@rogers.com>
0 siblings, 1 reply; 4+ messages in thread
From: Tony Ziolkowski @ 2002-12-29 20:06 UTC (permalink / raw)
To: pgsql-admin
I just upgraded my redhat linux from 7.2 to 8.0. During that process
postgresql 7.2.2 was installed on the system. According to the
documentation i should run postgresql-dump. However, I can't find that
program anywhere. Aside from the obvious of uninstalling 7.2, what can I do?
Thanks
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: postsgresql-dump not found in install
@ 2002-12-30 12:41 CoL <col@mportal.hu>
parent: Tony Ziolkowski <aziolk@rogers.com>
0 siblings, 1 reply; 4+ messages in thread
From: CoL @ 2002-12-30 12:41 UTC (permalink / raw)
To: pgsql-admin
you mean: pg_dump ?
C.
Tony Ziolkowski wrote, On 12/29/2002 9:06 PM:
> I just upgraded my redhat linux from 7.2 to 8.0. During that process
> postgresql 7.2.2 was installed on the system. According to the
> documentation i should run postgresql-dump. However, I can't find that
> program anywhere. Aside from the obvious of uninstalling 7.2, what can I do?
>
> Thanks
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: postsgresql-dump not found in install
@ 2002-12-30 14:41 Tony Ziolkowski <aziolk@rogers.com>
parent: CoL <col@mportal.hu>
0 siblings, 1 reply; 4+ messages in thread
From: Tony Ziolkowski @ 2002-12-30 14:41 UTC (permalink / raw)
To: pgsql-admin
No I meant what i wrote. The section from README.rpm-dist is:
To facilitate upgrading, the postgresql-dump utility has been provided.
Look
at the man page for postgresql-dump to see its usage. All executables to
restore the immediately prior version of the PostgreSQL database are
placed in
the directory /usr/lib/pgsql/backup, and are accessed by the postgresql-dump
script. The directory /usr/lib/pgsql/backup is owned by the postgres
user --
you can use this directory to hold dump files and preserve directories.
The basic sequence is:
(as user postgres):
postgresql-dump -t /var/lib/pgsql/backup/db.bak -p
/var/lib/pgsql/backup/old -d
(you can abort the ASCII dump with 'Q', as it uses more) Then, (as user
root):
service postgresql start
(which will automatically create a new database structure) And finally,
(as user postgres):
psql -e template1 </var/lib/pgsql/backup/db.bak
CoL wrote:
> you mean: pg_dump ?
> C.
>
> Tony Ziolkowski wrote, On 12/29/2002 9:06 PM:
>
>> I just upgraded my redhat linux from 7.2 to 8.0. During that process
>> postgresql 7.2.2 was installed on the system. According to the
>> documentation i should run postgresql-dump. However, I can't find that
>> program anywhere. Aside from the obvious of uninstalling 7.2, what can
>> I do?
>>
>> Thanks
>>
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: postsgresql-dump not found in install
@ 2003-01-01 01:25 Lamar Owen <lamar.owen@wgcr.org>
parent: Tony Ziolkowski <aziolk@rogers.com>
0 siblings, 0 replies; 4+ messages in thread
From: Lamar Owen @ 2003-01-01 01:25 UTC (permalink / raw)
To: Tony Ziolkowski <aziolk@rogers.com>; pgsql-admin
On Monday 30 December 2002 09:41, Tony Ziolkowski wrote:
> To facilitate upgrading, the postgresql-dump utility has been provided.
Red Hat shipped their packages for RH 8.0 without postgresql-dump. They
didn't update their documentation.
The postgresql-dump program is no longer included at all, and the
documentation has been updated to reflect this fact in the 7.3.x RPMsets.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2003-01-01 01:25 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-12-29 20:06 postsgresql-dump not found in install Tony Ziolkowski <aziolk@rogers.com>
2002-12-30 12:41 ` CoL <col@mportal.hu>
2002-12-30 14:41 ` Tony Ziolkowski <aziolk@rogers.com>
2003-01-01 01:25 ` Lamar Owen <lamar.owen@wgcr.org>
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