backup script fatal error

Posted by Cihan on
URL: http://erman-arslan-s-oracle-forum.114.s1.nabble.com/backup-script-fatal-error-tp158.html

Hi Erman

Thanks for your help in advance :)

I have backup script which is taring my app folder in backup script. It started to give an error message like below ;

Fatal error caused by line 71 of /backup_offline.sh

at line 71 it is ;

tar -czvpf ${BKUPDIR}/$( basename $FOLDERNAME )-${TAG}-${BUTDSTAMP}.tar.gz ${FOLDERNAME} >> $LOG || exiterror

then I tried to use tar command manually for the same backup directory with command

" tar -czvpf /root/appsdeneme.tar.gz /u1/oracle/PROD/ >> /root/bckcg.log "


and it stopped for one file and error message is now  ;

tar:/u1/oracle/PROD/inst/apps/PROD_ofmapp/logs/ora/10.1.3/j2ee/oacore/oacore_default_group_1/server.log: file is changed as we read it


Tar Command Version : tar (GNU tar) 1.15.1