RMAN - Naming convetion & Retension queries [message #218307] |
Wed, 07 February 2007 12:42 |
Ksaravan
Messages: 17 Registered: January 2007 Location: Portland
|
Junior Member |
|
|
Hi,
Im first time implementing the RMAN backup on DW environment. I dont get proper guidance or clarity when i got documents some time. Hence im writing to expert forum to get clarified my doubts. It may not sense some time please execuse me.
1. Naming conventions.. control file format ct_t%t_T%T_d%d_s%s
or
db_t%t_T%T_d%d_s%s_p%p.db' for database.. what %t means what is %s means.. ( i know few things point to date and seconds. But im not clear on few other things.. what is best method how default works..
2. I ran the following command. I think this is full backup.
backup as COMPRESSED BACKUPSET tag '%TAG' database include current controlfile;
after running the above backup if i run incremental back up what will happen?
3. Do i need to mention "LEVEL 0" in the backup script to use incremental backup scripts later or system will issue fullbackup i have taken one hour before so from that point only take incremental backup now?? How it will work? if i need to mention LEVEL 0 what is the difference between with LEVEL 0 key word and without LEVEL 0 key word
4. When the backup became a expired or ob-solute. today i taken full backup/level 0
two day i will take incremental third day i am taking again LEVEL 0 or full back up.
now i want to delete today's full backup how it will be done. via retention policy or script what should i mention to delete previous full back after taking new full back up. When one backup set/copy will became expired...
Thanks in advance.
Regards
KSaravan
|
|
|
|
Re: RMAN - Naming convetion & Retension queries [message #218329 is a reply to message #218310] |
Wed, 07 February 2007 15:08 |
Ksaravan
Messages: 17 Registered: January 2007 Location: Portland
|
Junior Member |
|
|
Rajendran,
Great.. Thanks a lot.. few of things cleared now. Further i will gothrough link and get back to you if i have some questions.. As you said now i added incremental level 0 in my script and testing..
Thanks for your quick response again..
Regards
KSaravan
|
|
|
Re: RMAN - Naming convetion & Retension queries [message #218334 is a reply to message #218310] |
Wed, 07 February 2007 15:41 |
Ksaravan
Messages: 17 Registered: January 2007 Location: Portland
|
Junior Member |
|
|
Hi,
For in case of this scenario what i should do..
I said retention policy 8 days. First week LEVEL 0 back is success.second week sunday it didnt happened due to some issue. I came to next day Monday about this backup failure but i could n't run manually due to some reason or forgot. next day my first week backup also became an obsolute. So tuesday if any crash happens im left with no backup. What is solution. How to avoid after next sucessful backup only i want my previous back up should be deleted.. How it can be achieved. Also shall i included my delete command also in the script..
Regards
KSaravan
|
|
|
|
Re: RMAN - Naming convetion & Retension queries [message #218345 is a reply to message #218341] |
Wed, 07 February 2007 16:26 |
Ksaravan
Messages: 17 Registered: January 2007 Location: Portland
|
Junior Member |
|
|
Hi,
Yes i will take the backupsets in to tape. due to retention policy my control file also not have the expired backups. RMAN prompt if i give list backup it wont be there. right? after restoring from tape to physical location again.. how RMAN will recognize that this is full back and etc., or manually i need to give some commands to restore it back to original location and recover it. How it will work..i didn't get this point.
Oh god any other way to do those things. i never written shell scripts now start learning.. so purging via script and risk without knowing the shell script programming is it right? my script may delete entire stuff. my os is AIX can pls let me know where can get these scripts so that i can modify according to my environment variables.
Regards
KSaravan
|
|
|
|
Re: RMAN - Naming convetion & Retension queries [message #218348 is a reply to message #218341] |
Wed, 07 February 2007 16:47 |
Ksaravan
Messages: 17 Registered: January 2007 Location: Portland
|
Junior Member |
|
|
hi
thanks
what the below command do
archivelog all delete input. What is delete input means?
How to mention cumulative backup from level 0
i mentioned in my script backup incremental level 0 database;
backup cumulative level 0 database is right syntax? Again bit confused abt differential back /cumulative under multilevel incremental backup's topic in the above mentioned URL.
do i need to mention like backup incremental level 1/0 like this or how?
Thanks in advance
Regards
KSaraava
|
|
|