12-12-2015 10:14 PM
Hello Experts,
Sometimes we have to cancel sql and oracle database but cancelling parent job does not kill all the jobs if dabase is big.
Pls let me know how to cancel database backups efficiently.
Thanks,
Solved! Go to Solution.
12-13-2015 07:41 AM
12-13-2015 07:41 AM
12-21-2015 07:51 AM
12-21-2015 05:45 PM
I cannot tell you - this is your environment. Script names can usually be found in the policy.
Work with the relevant server owner to check Task Manager or process table.
12-22-2015 05:29 AM
For example for Oracle there is RMAN script running.. this you can check with oyur database administrator or in the policy ..
Talk to your database adminsitrator whenever you cancelling backup jobs for those databases...
01-26-2016 12:37 AM
Ok fine Sometimes we have some backup streams fail in Oracle Policy and other streams get sucessfull and we can not start the full backup again as its huge in sizee so what is the best approch to refire only the failed stream in Oracle policy?
I am not sure whether we can restore the database with some successufull and some failed streams?
01-26-2016 01:04 AM
You cannot restart or resume a failed Oracle stream.
There is nothing in Oracle policy to specify or select individual streams.
The streams are generated by rman on the client, so only rman on the client can retry or restart the stream.
DBA's can investigate retry parameters in rman script.
01-26-2016 01:07 AM
Hello,
probably the best way in Oracle is to use "NOT BACKED UP SINCE" phrase, for example:
BACKUP
NOT BACKED UP SINCE TIME 'SYSDATE-7'
DATABASE PLUS ARCHIVELOG;
then only datafiles not backed up within last 7 days are covered by backup job. (Adjust the time to your RPO requirements).
Your second question is rather for an Oracle forum. Basically, if you mean by "stream" a datafile or group of datafiles, then the answer is yes when you have at least one successfull "stream"/backup for every datafile and archivelog backups covering interval from this oldest backup up to now.
For example, when you have:
backup from 25-JAN for half of database
backup from 18-JAN for a second half of database
and archivelog backup including all archivelogs from 18-JAN to now,
you can restore the whole database up to now.
Michal
01-27-2016 05:48 AM