cron tab entry not succeeding [message #262227] |
Sat, 25 August 2007 08:09 |
harjinder_k_singh
Messages: 3 Registered: August 2007 Location: .
|
Junior Member |
|
|
HI to all,
i m just new to this forum, pl'z help.actually i have tried a lot to automatize my cold back up using the cron,but my database is not getting shut down and also the cron is not executing, i have paste my config,pl'z suggest if anything wrong?
*********************************
[root@grg ~]# crontab -l
59 17 24 8 5 /root/coldbkp.sh
**********************************
[root@grg ~]# cat coldbkp.sh
/root/shut
tar -cvf /dev/st0 /arch/GRG
/root/start
**************************
[root@grg ~]# cat shut
su - oracle
lsnrctl stop
sqlplus /nolog
connect / as sysdba
shutdown immediate
exit
exit
********************************
[root@grg ~]# vi start
su - oracle
lsnrctl start
sqlplus /nolog
connect / as sysdba
startup
exit
*************************
|
|
|
|
|
|
|
|
|
|
Re: cron tab entry not succeeding [message #263318 is a reply to message #263216] |
Wed, 29 August 2007 12:54 |
DreamzZ
Messages: 1666 Registered: May 2007 Location: Dreamzland
|
Senior Member |
|
|
ahmed123 wrote on Wed, 29 August 2007 06:24 | hii everyone
i took the backup using export dmp files
expdp system/manager directory=dpump dumpfile=expfull.dmp full=y logfile=expfull.log job_name=full_job
i have done some changes...i added one user and done some transactions
when iam importing the database iam getting the modified data
iam not getting the previous database for whcih i hav took the xport
backup..
plz reply
thank in advance
|
You will have the only old data.IMP/EXP read write sequentially.
|
|
|