2006-11-17 10:14:43 +07:00
|
|
|
@Rem $Id: RUN_DBRestore.bat,v 1.13 2005/01/22 21:59:15 jjanke Exp $
|
|
|
|
|
|
|
|
@if (%ADEMPIERE_HOME%) == () (CALL myEnvironment.bat Server) else (CALL %ADEMPIERE_HOME%\utils\myEnvironment.bat Server)
|
|
|
|
@Title Restore Adempiere Database from Export - %ADEMPIERE_HOME% (%ADEMPIERE_DB_NAME%)
|
|
|
|
|
|
|
|
|
|
|
|
@echo Re-Create Adempiere User and import %ADEMPIERE_HOME%\data\ExpDat.dmp
|
|
|
|
@dir %ADEMPIERE_HOME%\data\ExpDat.dmp
|
|
|
|
@echo == The import will show warnings. This is OK ==
|
|
|
|
@pause
|
|
|
|
|
|
|
|
@Rem Parameter: <systemAccount> <adempiereID> <adempierePwd>
|
2007-10-10 10:42:04 +07:00
|
|
|
@Rem globalqss - cruiz - 2007-10-09 - added fourth parameter for postgres (ignored in oracle)
|
|
|
|
@call %ADEMPIERE_DB_PATH%\DBRestore system/%ADEMPIERE_DB_SYSTEM% %ADEMPIERE_DB_USER% %ADEMPIERE_DB_PASSWORD% %ADEMPIERE_DB_SYSTEM%
|
2006-11-17 10:14:43 +07:00
|
|
|
|
2008-02-13 13:24:51 +07:00
|
|
|
@call %ADEMPIERE_HOME%\RUN_SignDatabaseBuild
|
|
|
|
|
2006-11-17 10:14:43 +07:00
|
|
|
@pause
|