2010-11-04 02:46:38 +07:00
|
|
|
@Rem $Id: RUN_DBRestore.bat,v 1.13 2005/01/22 21:59:15 jjanke Exp $
|
|
|
|
|
2012-06-06 21:13:34 +07:00
|
|
|
@if (%IDEMPIERE_HOME%) == () (CALL myEnvironment.bat Server) else (CALL %IDEMPIERE_HOME%\utils\myEnvironment.bat Server)
|
|
|
|
@Title Restore Adempiere Database from Export - %IDEMPIERE_HOME% (%ADEMPIERE_DB_NAME%)
|
2010-11-04 02:46:38 +07:00
|
|
|
|
|
|
|
|
2012-06-06 21:13:34 +07:00
|
|
|
@echo Re-Create Adempiere User and import %IDEMPIERE_HOME%\data\ExpDat.dmp
|
|
|
|
@dir %IDEMPIERE_HOME%\data\ExpDat.dmp
|
2010-11-04 02:46:38 +07:00
|
|
|
@echo == The import will show warnings. This is OK ==
|
|
|
|
@pause
|
|
|
|
|
|
|
|
@Rem Parameter: <systemAccount> <adempiereID> <adempierePwd>
|
|
|
|
@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%
|
|
|
|
|
|
|
|
@pause
|