pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Banck <mbanck@gmx.net>
To: Wetmore, Matthew (CTR) <Matthew.Wetmore@express-scripts.com>
Cc: M Sarwar <sarwarmd02@outlook.com>
Cc: Scott Ribe <scott_ribe@elevated-dev.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: pg_restore is not working
Date: Tue, 24 Oct 2023 19:34:08 +0200
Message-ID: <65380010.170a0220.d0c4f.7469@mx.google.com> (raw)
In-Reply-To: <0ca8de602dab49a9af7ccce76bb842ef@express-scripts.com>
References: <0100018b62722391-65a890bf-5d6b-415f-8831-bf8ae2a09fde-000000@email.amazonses.com>
	<PH2P110MB0922514D54CCB31B5D85BA55FFDFA@PH2P110MB0922.NAMP110.PROD.OUTLOOK.COM>
	<DM4PR19MB59784C59594057E868659666D3DFA@DM4PR19MB5978.namprd19.prod.outlook.com>
	<7102931C-1588-470F-95D7-39E50320690F@elevated-dev.com>
	<DM4PR19MB597825D73A7EE2EE9FEB24DDD3DFA@DM4PR19MB5978.namprd19.prod.outlook.com>
	<fbde87479dc04126a544eb86bdfbc736@express-scripts.com>
	<DM4PR19MB5978B4199468F5A91916A619D3DFA@DM4PR19MB5978.namprd19.prod.outlook.com>
	<0ca8de602dab49a9af7ccce76bb842ef@express-scripts.com>

Hi,

On Tue, Oct 24, 2023 at 05:25:02PM +0000, Wetmore, Matthew (CTR) wrote:
> In AWS you need to use –dbname, not –d.

-d is the short option for the --dbname long option:

|$ LANG=C pg_restore --help | grep dbname
|  -d, --dbname=NAME        connect to database name


Michael





view thread (15+ messages)  latest in thread

Message-ID: <65380010.170a0220.d0c4f.7469@mx.google.com>
Permalink:  ../65380010.170a0220.d0c4f.7469@mx.google.com/
Also on:    postgresql.org/message-id/65380010.170a0220.d0c4f.7469@mx.google.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-admin@postgresql.org
  Cc: mbanck@gmx.net, Matthew.Wetmore@express-scripts.com, sarwarmd02@outlook.com, scott_ribe@elevated-dev.com
  Subject: Re: pg_restore is not working
  In-Reply-To: <65380010.170a0220.d0c4f.7469@mx.google.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