Iam trying to get this expdp running for oracle backup.
And this is the code below:
### Run the export.
### Comment out any LOGFILE parameters in the .par file.
if grep -i "Logfile" /<Path>$1_$2_$3.par; then
## Comment out any LOGFILE parameters found in the par file.I=Ignore case.
sed -i -e "s/Logfile/#LOGFILE/Ig" /<Path>/$1_$2_$3.par
fi
$ORACLE_HOME/bin/expdp" logfile=$1_$2_$3.log parfile=/<Path>/$1_$2_$3.par >> ${JOBLOG} 2>&1
May have to rewrite the sed to have the code worked out?
Error:
LRM-00112: multiple values not allowed for parameter 'logfile'
LRM-00113: error when processing file '/<Path>/exp.par'