Fix oracle datapump scripts
This commit is contained in:
parent
ed8e16bee4
commit
abd2b70243
|
@ -29,8 +29,11 @@ echo -------------------------------------
|
|||
echo Re-Create DataPump directory
|
||||
echo -------------------------------------
|
||||
sqlplus $1@$ADEMPIERE_DB_SERVER:$ADEMPIERE_DB_PORT/$ADEMPIERE_DB_NAME @$IDEMPIERE_HOME/utils/$ADEMPIERE_DB_PATH/CreateDataPumpDir.sql $IDEMPIERE_HOME/data
|
||||
# Note the user running this script must be member of dba group: usermod -G dba idempiere
|
||||
chgrp dba $IDEMPIERE_HOME/data
|
||||
chmod 770 $IDEMPIERE_HOME/data
|
||||
chgrp dba $IDEMPIERE_HOME/data/ExpDat.dmp
|
||||
chmod 640 $IDEMPIERE_HOME/data/ExpDat.dmp
|
||||
|
||||
echo -------------------------------------
|
||||
echo Import ExpDat
|
||||
|
|
|
@ -30,8 +30,11 @@ echo -------------------------------------
|
|||
echo Re-Create DataPump directory
|
||||
echo -------------------------------------
|
||||
sqlplus $1@$ADEMPIERE_DB_SERVER:$ADEMPIERE_DB_PORT/$ADEMPIERE_DB_NAME @$IDEMPIERE_HOME/utils/$ADEMPIERE_DB_PATH/CreateDataPumpDir.sql $IDEMPIERE_HOME/data/seed
|
||||
# Note the user running this script must be member of dba group: usermod -G dba idempiere
|
||||
chgrp dba $IDEMPIERE_HOME/data/seed
|
||||
chmod 770 $IDEMPIERE_HOME/data/seed
|
||||
chgrp dba $IDEMPIERE_HOME/data/seed/Adempiere.dmp
|
||||
chmod 640 $IDEMPIERE_HOME/data/seed/Adempiere.dmp
|
||||
|
||||
echo -------------------------------------
|
||||
echo Import Adempiere.dmp
|
||||
|
|
Loading…
Reference in New Issue