added parameter to clean database before reinstall
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
echo off
|
echo off
|
||||||
SET BACKUPFOLDER=%~dp0
|
SET BACKUPFOLDER=%~dp0
|
||||||
"C:\Program Files\PostgreSQL\10\bin\pg_dump.exe" -U jomu -n public --column-inserts --attribute-inserts --no-owner --no-privileges --no-acl account > %BACKUPFOLDER%\account.dump
|
"C:\Program Files\PostgreSQL\10\bin\pg_dump.exe" -U jomu -n public --column-inserts --attribute-inserts --no-owner --no-privileges --no-acl --clean account > %BACKUPFOLDER%\account.dump
|
||||||
pause;
|
pause;
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
echo off
|
echo off
|
||||||
SET BACKUPFOLDER=%~dp0
|
SET BACKUPFOLDER=%~dp0
|
||||||
"C:\Program Files\PostgreSQL\10\bin\pg_dump.exe" -U jomu -n public --column-inserts --attribute-inserts --no-owner --no-privileges --no-acl account_test > %BACKUPFOLDER%\account_test.dump
|
"C:\Program Files\PostgreSQL\10\bin\pg_dump.exe" -U jomu -n public --column-inserts --attribute-inserts --no-owner --no-privileges --no-acl --clean account_test > %BACKUPFOLDER%\account_test.dump
|
||||||
pause;
|
pause;
|
||||||
|
|||||||
Reference in New Issue
Block a user