pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alexey Bobkov <bax@sunet.ru>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dump/pg_restore
Date: Mon, 12 Jan 2004 09:46:58 -0500
Message-ID: <28375.1073918818@sss.pgh.pa.us> (raw)
In-Reply-To: <400288CC.4050005@sunet.ru>
References: <400288CC.4050005@sunet.ru>

Alexey Bobkov <bax@sunet.ru> writes:
> I have been dumping my database with next options:
> pg_dump -f /path_to_database/backup/db_backup.file -Z 9 database_name
> and get db_backup.file file.

This is giving you a plain SQL-script dump file.  To restore, feed it
into psql.

			regards, tom lane



view thread (12+ messages)  latest in thread

Message-ID: <28375.1073918818@sss.pgh.pa.us>
Permalink:  ../28375.1073918818@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28375.1073918818@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bax@sunet.ru
  Subject: Re: pg_dump/pg_restore
  In-Reply-To: <28375.1073918818@sss.pgh.pa.us>

* 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