Re: [pgadmin-support] Restore & Backup using Batch file

2015-01-21 Thread Raymond O'Donnell
On 21/01/2015 06:52, parthdesai wrote: > 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 bat

Re: [pgadmin-support] Restore & Backup using Batch file

2015-01-21 Thread parthdesai
"C:\Program Files\PostgreSQL\9.3\bin\pg_dump.exe" -i -h localhost -p 5432 -U postgres -F c -b -v -f "D:\GROVEL.backup" GROVEL pause -Restore "C:\Program Files\PostgreSQL\9.3\bin\pg_restore.exe"-i -h localhost -p 5432 -U postgres -d Test1 -W -v "D:\GROVEL.backup" pause -- View this message i