From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Jie Liang <jie@stbernard.com>
Cc: 'Jan Wieck' <JanWieck@Yahoo.com>
Cc: 'admin@postgresql.org' <admin@postgresql.org>
Cc: 'pgsql-sql@postgresql.org' <pgsql-sql@postgresql.org>
Subject: Re: pg_restore cannot restore index
Date: Mon, 15 Jul 2002 19:24:38 -0400 (EDT)
Message-ID: <200207152324.g6FNOcD19895@candle.pha.pa.us> (raw)
In-Reply-To: <7C760DAA511DC74B99E7D22189F786F101BF2126@MAIL01.stbernard.com>
Jie Liang wrote:
> su postgres -c "/usr/local/pgsql/bin/pg_restore --table=mytable
> --dbname=mydb mydumpfile"
> error msg
> pg_restore: [archiver] could not open input file: No such file or directory
>
> I run it on 7.2.0
OK, my guess is that the 'su' is moving you to another directory. Try
specifying the full path of the file, e.g. /var/tmp/mydumpfile.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
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-sql@postgresql.org
Cc: pgman@candle.pha.pa.us, jie@stbernard.com, JanWieck@Yahoo.com, admin@postgresql.org
Subject: Re: pg_restore cannot restore index
In-Reply-To: <200207152324.g6FNOcD19895@candle.pha.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