2010-11-04 02:46:38 +07:00
|
|
|
#!/bin/sh
|
|
|
|
|
2018-11-14 23:45:40 +07:00
|
|
|
# Author + Copyright 1999-2005 Jorg Janke
|
|
|
|
# $Id: RUN_DBExport.sh,v 1.10 2005/05/31 18:45:33 jjanke Exp $
|
2020-09-09 00:37:00 +07:00
|
|
|
if [ "$IDEMPIERE_HOME" ]; then
|
|
|
|
cd "$IDEMPIERE_HOME"/utils || (echo "Cannot cd $IDEMPIERE_HOME/utils"; exit 1)
|
2010-11-04 02:46:38 +07:00
|
|
|
fi
|
2020-09-09 00:37:00 +07:00
|
|
|
export ID_ENV=Server
|
|
|
|
. ./myEnvironment.sh
|
|
|
|
echo Export idempiere Database - "$IDEMPIERE_HOME" \("$ADEMPIERE_DB_NAME"\)
|
2018-11-14 23:45:40 +07:00
|
|
|
|
|
|
|
|
|
|
|
# Parameter: <adempiereDBuser>/<adempiereDBpassword>
|
2020-09-09 00:37:00 +07:00
|
|
|
sh "$ADEMPIERE_DB_PATH"/ExportReference.sh "$ADEMPIERE_DB_USER" "$ADEMPIERE_DB_PASSWORD" system/"$ADEMPIERE_DB_SYSTEM"
|