RE: pg_restore error

From: M Sarwar <sarwarmd02(at)outlook(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: RE: pg_restore error
Date: 2024-02-13 20:27:31
Message-ID: DM4PR19MB59788AC141ADC9EE45984818D34F2@DM4PR19MB5978.namprd19.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I found the issue. Powershell interface issue. The same command is working from the dos prompt.
Thanks,

Sent from my Galaxy

-------- Original message --------
From: M Sarwar <sarwarmd02(at)outlook(dot)com>
Date: 2/13/24 3:08 PM (GMT-05:00)
To: pgsql-admin(at)postgresql(dot)org
Subject: pg_restore error

Sent from my Galaxy

Hello,

PS H:\> pg_restore -v -h bZonxdb1.cXgunmbej9Yk.us-gov-west-1.rds.amazonaws.com -U db_sarwar -d bronxdb1 -n bronx_mig -t errors_dev_inspection_20240214 C:\Mohammed\Work\NGC\Apps\Bronx\Backups\Dumps\data\backup_Dev_Files_MetErr_20240213-01.DUMP

pg_restore: error: too many command-line arguments (first is "bronxdb1")

Try "pg_restore --help" for more information.
PS H:\>

The same command was working earlier. What could be the issue here.

Thanks,
Sarwar

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Dischner, Anton 2024-02-14 07:11:00 AW: pg_dump --binary-upgrade out of memory
Previous Message M Sarwar 2024-02-13 20:08:25 pg_restore error