#!/bin/bash

JAVA_HOME= 
JAVA="$JAVA_HOME/bin/java"
LIB="./DBManagerCmdLine.jar"

DBFOLDERPATH=
DELETEDBFOLDER="true"
ZIPFILEPATH=
DPDUMPFOLDERPATH=
SCHEMANAME=

#SQLSCRIPTPATH=

ORACLEHOSTNAME=
ORACLESERVICE=
ORACLEPORT=
ORACLEADMINACCOUNTNAME=
ORACLEADMINACCOUNTPWD=
#ORACLEADMINACCOUNTPWDFILE=
USERPASSWORDSREMOVAL="false"

CMD="$JAVA -cp $LIB db.manager.cmd.DBRestoreCmd"
CMD="$CMD -dbfolderpath $DBFOLDERPATH"
CMD="$CMD -deletedbfolder $DELETEDBFOLDER"
CMD="$CMD -zipfilepath $ZIPFILEPATH"
CMD="$CMD -dpdumpfolderpath $DPDUMPFOLDERPATH"
CMD="$CMD -schemaname $SCHEMANAME"
CMD="$CMD -oraclehostname $ORACLEHOSTNAME"
#CMD = "$CMD -oraclesid $ORACLESID"
CMD="$CMD -oracleservice $ORACLESERVICE"
CMD="$CMD -oracleport $ORACLEPORT"
CMD="$CMD -oracleadminaccountname $ORACLEADMINACCOUNTNAME"
CMD="$CMD -oracleadminaccountpwd $ORACLEADMINACCOUNTPWD"
#CMD="$CMD -oracleadminaccountpwdfile $ORACLEADMINACCOUNTPWDFILE"
CMD="$CMD -userspasswordsremoval $USERPASSWORDSREMOVAL"
#CMD="$CMD -sqlscriptpath '$SQLSCRIPTPATH'"

$CMD 

