2011-04-23 08:31:43 +07:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Author + Copyright 1999-2005 Jorg Janke
|
|
|
|
# $Id: RUN_DBExport.sh,v 1.10 2005/05/31 18:45:33 jjanke Exp $
|
2012-06-06 21:13:34 +07:00
|
|
|
if [ $IDEMPIERE_HOME ]; then
|
|
|
|
cd $IDEMPIERE_HOME/utils
|
2011-04-23 08:31:43 +07:00
|
|
|
fi
|
|
|
|
. ./myEnvironment.sh Server
|
2012-06-06 21:13:34 +07:00
|
|
|
echo Export idempiere Database - $IDEMPIERE_HOME \($ADEMPIERE_DB_NAME\)
|
2011-04-23 08:31:43 +07:00
|
|
|
|
|
|
|
|
|
|
|
# Parameter: <adempiereDBuser>/<adempiereDBpassword>
|
|
|
|
sh $ADEMPIERE_DB_PATH/DBExportdp.sh $ADEMPIERE_DB_USER $ADEMPIERE_DB_PASSWORD system/$ADEMPIERE_DB_SYSTEM
|
|
|
|
|
|
|
|
# sh $ADEMPIERE_DB_PATH/DBExportFulldp.sh system/$ADEMPIERE_DB_SYSTEM
|
|
|
|
|
2012-06-06 21:13:34 +07:00
|
|
|
if [ $IDEMPIERE_HOME ]; then
|
|
|
|
cd $IDEMPIERE_HOME/utils
|
2011-04-23 08:31:43 +07:00
|
|
|
fi
|
|
|
|
sh myDBcopy.sh
|
|
|
|
|