pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alex Hudich <altx@mail.ru>
To: pgsql-admin@postgresql.org
Subject: pg_restore problem.
Date: Mon, 04 Mar 2002 08:44:47 +0300
Message-ID: <E16hlHD-000AMH-00@f6.mail.ru> (raw)

I'm trying to backup and restore database from DBname to DBname2 (e.g. copy
database. it is for example). 

When i'm trying to use these commands :

 #pg_dump -f DBname.tar -b -o -Ft DBname
 #createdb DBname2
 #pg_restore -Ft -d DBname2 -f DBname.tar

pg_dump works fine, but pg_restore produce this error message :

Archiver(db): Could not execute query. No result from backend.

What's wrong? 
Help me, please.

---
cul8er!




view thread (17+ messages)  latest in thread

Message-ID: <E16hlHD-000AMH-00@f6.mail.ru>
Permalink:  ../E16hlHD-000AMH-00@f6.mail.ru/
Also on:    postgresql.org/message-id/E16hlHD-000AMH-00@f6.mail.ru

 · 

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: altx@mail.ru
  Subject: Re: pg_restore problem.
  In-Reply-To: <E16hlHD-000AMH-00@f6.mail.ru>

* 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