Restore & Backup using Batch file

From: parthdesai <parthdesai724(at)gmail(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: Restore & Backup using Batch file
Date: 2015-01-21 06:52:59
Message-ID: 1421823179890-5834848.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hello,

I want to restore my .BACKUP file and create .BACKUP file using command
line.As i have created backup from my client PC and wanted to restore that
using Batch file.Please suggest me how can i achieve this if possible send
me the example batch file for it.
Below is the command i am using for CREATING backup but resulting into error
after executing

"C:\Program Files\PostgreSQL\9.3\bin\pg_dump.exe" --host 127.0.0.1
--port 5432 --username "postgres" --password "Maestro" --verbose -F p
--file "D:\EMS1.backup" "GROVEL"
pause

<http://postgresql.nabble.com/file/n5834848/CMD.png>

--
View this message in context: http://postgresql.nabble.com/Restore-Backup-using-Batch-file-tp5834848.html
Sent from the PostgreSQL - pgadmin support mailing list archive at Nabble.com.

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message parthdesai 2015-01-21 08:58:58 Re: Restore & Backup using Batch file
Previous Message Parth Desai 2015-01-20 18:37:29 Restore Database