pg.ddx.io  pgsql-novice@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Curtis Mortensen <shakiro2@yahoo.com>
To: pgsql-novice@postgresql.org
Subject: pg_restore error
Date: Fri, 6 Sep 2002 13:08:28 -0600
Message-ID: <CPECIDGAKENJOOCGOHGJIEOACBAA.shakiro2@yahoo.com> (raw)

I've tried searching the archives for a solution to this, but I was unable
to find it.  So, I hope you'll forgive my newbie question if it's been asked
before.  I'm trying to backup a database on our company's server.  First I
create the backup (pg_dump [databasename] > backup.dump) then I create a new
database [databasename2].  When I try to move the dump to the new database
(pg_restore [databasenam2] < backup.dump) it gives me this error:

pg_restore: [archiver] could not open input file: No such file or directory

I get the same even if I give the absolute path for backup.dump.  I assume
that postgres is looking somewhere else for my file, but being fairly new to
SQL, I don't know where that is or where to find out.  So, any help or hints
you could give me would be appreciated.

Thanks,

Curtis Mortensen




view thread (7+ messages)  latest in thread

Message-ID: <CPECIDGAKENJOOCGOHGJIEOACBAA.shakiro2@yahoo.com>
Permalink:  ../CPECIDGAKENJOOCGOHGJIEOACBAA.shakiro2@yahoo.com/
Also on:    postgresql.org/message-id/CPECIDGAKENJOOCGOHGJIEOACBAA.shakiro2@yahoo.com

 · 

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-novice@postgresql.org
  Cc: shakiro2@yahoo.com
  Subject: Re: pg_restore error
  In-Reply-To: <CPECIDGAKENJOOCGOHGJIEOACBAA.shakiro2@yahoo.com>

* 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