Index: trunk/deployment/dumprestore/shellscr/resources/dumpres.bat =================================================================== --- trunk/deployment/dumprestore/shellscr/resources/dumpres.bat (revision 2006) +++ trunk/deployment/dumprestore/shellscr/resources/dumpres.bat (revision 2007) @@ -38,4 +38,5 @@ if "%1" == "backup" GOTO backup if "%1" == "initdb" GOTO initdb + if "%1" == "newsys" GOTO newsys if "%1" == "drop" GOTO drop if "%1" == "drop-export" GOTO drop-export @@ -53,6 +54,7 @@ ECHO Populate the database using the provided initial data. ECHO. - ECHO newsys [ -ndebug] - ECHO Create a new empty system based on the build configuration. + ECHO newsys [-ndebug] + ECHO Create a new empty system based on the build configuration with a + ECHO single root user ECHO. ECHO dump {filename} @@ -132,4 +134,5 @@ GOTO end :: + :initdb ECHO Initializing the database: @@ -139,4 +142,13 @@ GOTO end :: + +:newsys + ECHO Creating new system database: + ECHO. + ECHO %RESTORECMD% -appname %APPNAME% -newSystem rootid %2 %3 %4 %5 %6 %7 %8 %9 + %RESTORECMD% -appname %APPNAME% -newSystem rootid %2 %3 %4 %5 %6 %7 %8 %9 + GOTO end + :: + :drop ECHO Creating drop sql