FR [3118364] - RUN_DBExport
https://sourceforge.net/tracker/?func=detail&atid=879335&aid=3118364&group_id=176962 Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=3118364
This commit is contained in:
parent
d6dfbb39ff
commit
4fe8c7dfaa
|
@ -24,7 +24,7 @@ fi
|
||||||
sqlplus $1/$2@$ADEMPIERE_DB_SERVER:$ADEMPIERE_DB_PORT/$ADEMPIERE_DB_NAME @$ADEMPIERE_HOME/utils/$ADEMPIERE_DB_PATH/Daily.sql
|
sqlplus $1/$2@$ADEMPIERE_DB_SERVER:$ADEMPIERE_DB_PORT/$ADEMPIERE_DB_NAME @$ADEMPIERE_HOME/utils/$ADEMPIERE_DB_PATH/Daily.sql
|
||||||
|
|
||||||
# Export
|
# Export
|
||||||
exp $1/$2@$ADEMPIERE_DB_SERVER:$ADEMPIERE_DB_PORT/$ADEMPIERE_DB_NAME FILE=$ADEMPIERE_HOME/data/ExpDat.dmp Log=$ADEMPIERE_HOME/data/ExpDat.log CONSISTENT=Y OWNER=$1
|
exp $1/$2@$ADEMPIERE_DB_SERVER:$ADEMPIERE_DB_PORT/$ADEMPIERE_DB_NAME FILE=$ADEMPIERE_HOME/data/ExpDat.dmp Log=$ADEMPIERE_HOME/data/ExpDat.log CONSISTENT=Y STATISTICS=NONE OWNER=$1
|
||||||
|
|
||||||
cd $ADEMPIERE_HOME/data
|
cd $ADEMPIERE_HOME/data
|
||||||
jar cvfM ExpDat.jar ExpDat.dmp ExpDat.log
|
jar cvfM ExpDat.jar ExpDat.dmp ExpDat.log
|
||||||
|
|
|
@ -20,7 +20,7 @@ if [ "$ADEMPIERE_HOME" = "" -o "$ADEMPIERE_DB_NAME" = "" ]
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exp $1@$ADEMPIERE_DB_SERVER:$ADEMPIERE_DB_PORT/$ADEMPIERE_DB_NAME FILE=$ADEMPIERE_HOME/data/ExpDatFull.dmp Log=$ADEMPIERE_HOME/data/ExpDatFull.log CONSISTENT=Y FULL=Y
|
exp $1@$ADEMPIERE_DB_SERVER:$ADEMPIERE_DB_PORT/$ADEMPIERE_DB_NAME FILE=$ADEMPIERE_HOME/data/ExpDatFull.dmp Log=$ADEMPIERE_HOME/data/ExpDatFull.log CONSISTENT=Y STATISTICS=NONE FULL=Y
|
||||||
|
|
||||||
cd $ADEMPIERE_HOME/data
|
cd $ADEMPIERE_HOME/data
|
||||||
jar cvfM ExpDatFull.jar ExpDatFull.dmp ExpDatFull.log
|
jar cvfM ExpDatFull.jar ExpDatFull.dmp ExpDatFull.log
|
||||||
|
|
Loading…
Reference in New Issue