pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Breen <paul.breen6@btinternet.com>
To: pgsql-admin@postgresql.org
Subject: Re: old database dump.
Date: Thu, 1 Dec 2005 10:17:25 +0000 (GMT)
Message-ID: <20051201101725.28974.qmail@web86405.mail.ukl.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0511302255390.16022@discord.dyndns.org>

Alternatively you can login with your password as
normal and then once in psql use the '\i filename'
command to read in your backup.

E.g.,
psql dbname
Password:
dbname=# \i database.bak
dbname=# \q

Regards - Paul Breen

--- Jeff Frost <jeff@frostconsultingllc.com> wrote:

> Use the .pgpass file.
> 
> On Thu, 1 Dec 2005, Theo Galanakis wrote:
> 
> > database.bak prompts me for a password. How can I
> run the psql command
> > without being prompted for a password. The
> password prompt and < command
> 
> -- 
> Jeff Frost, Owner 	<jeff@frostconsultingllc.com>
> Frost Consulting, LLC 
> http://www.frostconsultingllc.com/
> Phone: 650-780-7908	FAX: 650-649-1954
> 
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
> 




view thread (5+ messages)  latest in thread

Message-ID: <20051201101725.28974.qmail@web86405.mail.ukl.yahoo.com>
Permalink:  ../20051201101725.28974.qmail@web86405.mail.ukl.yahoo.com/
Also on:    postgresql.org/message-id/20051201101725.28974.qmail@web86405.mail.ukl.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: paul.breen6@btinternet.com
  Subject: Re: old database dump.
  In-Reply-To: <20051201101725.28974.qmail@web86405.mail.ukl.yahoo.com>
  References: <Pine.LNX.4.64.0511302255390.16022@discord.dyndns.org> <20051201101725.28974.qmail@web86405.mail.ukl.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