In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
I'll post the script for backing up oracle and uploading the backup server for your reference.
[root@master ~]-cat expDB_DailyBackup.sh #-Set Parameter--ENVFILE= "/ etc/profile" EXITCODE=0uDate= `date +'% Y% m% d'`Week= `date +'% a``dbBackup=/home/app/backup/db_DailytarName=app_$ { UDate} _ DB_DailyBk.tar.gz#--Exit Program--exit_handler () {exit $EXITCODE} #-- Load The environment file--if [- r "$ENVFILE"] then source $ENVFILEelse EXITCODE=-1 exit_handlerfi#--Backup Application To Directory -cd $dbBackup# Export Database To Fileexp app_admin/app_admin file=app_$ {uDate} _ DB_DailyBk.dmp #-- Send The File To Remote Host--cd $dbBackuptar- Zcvf $tarName app_$ {uDate} _ DB_DailyBk.dmp# Rename Backup For Remote Hostcp $tarName app_$ {Week} _ DB_DailyBk.tar.gz lftp
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.