#!/bin/bash
. /u01/app/MOIDEV/EBSapps.env run
#NOWtime=$(date +"%Y-%m-%d-%H-%m")
NOWdate=$(date +"%Y-%m-%d")
cd $RUN_BASE
rm -rf EBSapps_*.tar.gz
cd $ADMIN_SCRIPTS_HOME
{ echo Admin1234; echo Admin1234; } | perl adpreclone.pl appsTier
cd $RUN_BASE
tar -czvf EBSapps_fs2_${NOWdate}.tar.gz
No comments:
Post a Comment