cd $BACKUP_DIR
if [ ! -p $PIPE ]; then

mkfifo $PIPE
fi

echo “gzipping from $PIPE …”
nohup gzip -c < $PIPE > ${DMPFILE}.gz &

echo “expdp started …”
expdp $CREDENTIALS \

DIRECTORY=DP_EXP_DIR \
DUMPFILE=$PIPE \
FULL=y \
LOGFILE=$LOGFILE