This is my batch script to take backup
@ECHO OFF
d:
cd Apps\RemedyStar 9.0 KREMCOS\bin\Debug\PG
pg_dump.exe -i -h localhost -p 5432 -U postgres -F c -b -v -f "C:\Documents and Settings\GDS\Desktop\backup\RStar.backup" "RStar"
echo Backup Taken Complete
pause
using this script my backup method is correct
this is my batch script to restore
cd /D D:\\Apps
cd RemedyStar 9.0 KREMCOS
cd bin
cd Debug
cd PG
pg_restore.exe -i -h localhost -p 5432 -U postgres --dbname RStar "C:\Documents and Settings\GDS\Desktop\backup\RStar.backup"
pause
i'm trying to restore the same database, after restoring my db's size increasing
NOTE : i've already asked this question in stackoverflow