Controlfile_record_keep_count and list backup summary
Hello All:
I have the controlfile_record_keep_time=45. The list backup summary shows all the way upto October backups (over 100 days backup info). How is this possible? Are there any other params besides above?
Thanks
S~
I think you are not purging expired backups. Once you do that, you should not see those expired backups. You should have retention policy set in your RMAN to get what you want along with some scripts that runs regularly to purge expired and obsolete backups.
Similar Messages
-
RMAN LIST backup and maintain backup.
Hi Experts,
Currently we have some changes on the rman retention policy from 168days to 90days.
RMAN Retention policy is:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;
And RMAN Scripts monthly backup is:
run
allocate channel t1 type 'sbt_tape' parms
'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo_monthly.opt)';
backup as compressed backupset database tag ${SID}_MONTHLY keep until time 'sysdate+168';
release channel t1;
I believe I still have the old backup after I changed the 'sysdate+168' to 'sysdate+90'; on my scripts
How do I manage to delete this ?
Using, List backup and list backup summary will prompt me very long line and window,
How do I create the CONFIGURE settings I can remove the allocate channel... on my scripts ?
Cheers,
RaffHi mseberg,
I have executed as your advised below, but somehow it doesnt get the files.
Is there any way to check what is the oldest backup that available ?
RMAN> DELETE noprompt BACKUP COMPLETED BEFORE 'SYSDATE-90';
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=100 device type=DISK
allocated channel: ORA_SBT_TAPE_1
channel ORA_SBT_TAPE_1: SID=138 device type=SBT_TAPE
channel ORA_SBT_TAPE_1: Data Protection for Oracle: version 5.5.1.0
specification does not match any backup in the repository
RMAN> DELETE EXPIRED BACKUP;
using channel ORA_DISK_1
using channel ORA_SBT_TAPE_1
specification does not match any backup in the repository
RMAN> DELETE FORCE NOPROMPT BACKUP COMPLETED BEFORE 'SYSDATE-90';
using channel ORA_DISK_1
using channel ORA_SBT_TAPE_1
specification does not match any backup in the repository -
Can't delete obsolete and expired backups.
Every Sundays I create 0 level backup.
Every Thuesdays I create 1 level comulative backup.
Every other days I create 1 level incremental backup.
Sometimes I need a free space for new backups and I try clean old backups.
As I can understand, rman remove backups from 'list backup', but doens't delete physically from disk storage.
SQL> select banner from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Solaris: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
0 level backup
CONNECT TARGET / ;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u06/backup/df_%d_%s_%U';
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u06/backup/cf_%F';
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u06/backup/snapcf.f';
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE MAXSETSIZE TO 20G;
BACKUP CURRENT CONTROLFILE;
BACKUP INCREMENTAL LEVEL 0 DATABASE FILESPERSET 100 ;
BACKUP ARCHIVELOG ALL DELETE ALL INPUT;
RESTORE VALIDATE DATABASE;
RESTORE VALIDATE CONTROLFILE TO '$ORACLE_BASE/admin/rman_scripts/cf_tmp.ctl';
RESTORE VALIDATE SPFILE TO '$ORACLE_BASE/admin/rman_scripts/spf_tmp.ora';
RESTORE VALIDATE ARCHIVELOG FROM TIME 'SYSDATE-4';
REPORT NEED BACKUP;
DELETE OBSOLETE;
LIST BACKUP;
LIST BACKUP SUMMARY;
1 level comulative backup
CONNECT TARGET / ;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u06/backup/df_%d_%s_%U';
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u06/backup/cf_%F';
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u06/backup/snapcf.f';
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE MAXSETSIZE TO 20G;
BACKUP CURRENT CONTROLFILE;
BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE FILESPERSET 100;
BACKUP ARCHIVELOG ALL DELETE ALL INPUT;
RESTORE VALIDATE DATABASE;
RESTORE VALIDATE CONTROLFILE TO '$ORACLE_BASE/admin/rman_scripts/cf_tmp.ctl';
RESTORE VALIDATE SPFILE TO '$ORACLE_BASE/admin/rman_scripts/spf_tmp.ora';
RESTORE VALIDATE ARCHIVELOG FROM TIME 'SYSDATE-4';
REPORT NEED BACKUP;
DELETE OBSOLETE;
LIST BACKUP;
LIST BACKUP SUMMARY;
1 level incremental backup
CONNECT TARGET / ;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u06/backup/df_%d_%s_%U';
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u06/backup/cf_%F';
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u06/backup/snapcf.f';
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE MAXSETSIZE TO 20G;
BACKUP CURRENT CONTROLFILE;
BACKUP INCREMENTAL LEVEL 1 DATABASE FILESPERSET 100;
BACKUP ARCHIVELOG ALL DELETE ALL INPUT;
RESTORE VALIDATE DATABASE;
RESTORE VALIDATE CONTROLFILE TO '$ORACLE_BASE/admin/rman_scripts/cf_tmp.ctl';
RESTORE VALIDATE SPFILE TO '$ORACLE_BASE/admin/rman_scripts/spf_tmp.ora';
RESTORE VALIDATE ARCHIVELOG FROM TIME 'SYSDATE-4';
REPORT NEED BACKUP;
DELETE OBSOLETE;
LIST BACKUP;
LIST BACKUP SUMMARY;
Try delete old backups:
CONNECT TARGET / ;
RMAN> CROSSCHECK BACKUP;
Crosschecked 173 objects
RMAN> DELETE EXPIRED BACKUP;
using channel ORA_DISK_1
specification does not match any backup in the repository
RMAN> DELETE OBSOLETE;
RMAN retention policy will be applied to the command
RMAN retention policy is set to recovery window of 3 days
using channel ORA_DISK_1
no obsolete backups found
RMAN>
Edited by: 848540 on 31.10.2011 23:15I try to ask one more time.
I make all backups in the folder \u06\backup.
I make full backups every week.
After command "crosscheck backup" all backups older 2 weeks must be mark as "OBSOLETE". This operation works correctly, becouse in "list backup" i look all backups for last two weeks and no older (for today they all made earlyer then 06/11/2011)!
After crosscheck operation i try to delete old backups from HDD.
RMAN> delete expired backup;
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=2 device type=DISK
specification does not match any backup in the repository
RMAN> delete obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to recovery window of 3 days
using channel ORA_DISK_1
no obsolete backups found
But after this operation I look in my backup folder files since 02/10/2011. How to sync backups (delete obsolete backups from HDD) in rman list (command 'list backup') and in operation system list (command 'ls' in sun10)?
Edited by: 848540 on 14.11.2011 0:32 -
Recently I updated iTunes on my PC and now the "Summary" for syncing my iPhone with iTunes no longer appears near the top of my iTunes window. "Summary" lists items I can sync such as "Music, Photos, Apps", etc with drop-down boxes I can use to manage how I sync those items. An icon for my iPhone does appear near the top right corner of the iTunes window; however, when I click on the icon, the sync automatically begins and there is no display of what is syncing or how much space has been used or how much space is left for syncing music, photos, apps, etc. The new iTunes window no longer lists "Devices" on the left-hand side of the window. Has anyone had the same issue?
In iTunes go to View>Show Sidebar.
-
List backup of archivelog sequence between 7748 and 7750;
Hi,
in 8.1.7, I get syntaxe error when I Issue this commande :
RMAN> list backup of archivelog sequence between 7748 and 7750;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "identifier": expecting one of: "all, from, high, like, low, until"
RMAN-01008: the bad identifier was: sequence
RMAN-01007: at line 1 column 27 file: standard input
Do you know the right syntax ??
Many thanks before.replace sequence by logseq.
In the future, please use the RMAN reference manual, and do NOT ask this doc question here.
Sybrand Bakker
Senior Oracle DBA -
IMovie 11 finds my backup disk and lists it in its event library
I have a dirctory containing iMovie events on an external drive, with a backup (made by SuperDuper!) on a second external drive. In an attempt to be helpful, i guess, iMovie 11 finds my backup disk and lists the events thereon in its event library. It also appears to optimize it every time it finds it after a fresh backup.
Can this behavior be stopped (short of ensuring that the backup drive is offline when I start iMovie)?I've downloaded the DataRescue and FileSalvage trials, and am currently scanning with DataRescue which will take another few hours. Thanks for those recommendations, its so useful to have a trial scan before buying.
*General Question:* I noticed through these various attempts that reformatting extra drives in the current version of Disk Utility has become a little more dangerous than before. For example, I was reformatting a spare disk from FAT32 to HFS+ and the drive became unmountable. This never happened to me in earlier versions of OSX, and now it seems to happen every time, and partly why my partitions got all screwy. Any thoughts? -
after I finished updating my ipod touch 2nd & 4th gen to 4.2.1 and restore the backups.. a dialog box appeared
"iTunes can't read the contents of the ipod xxxxIpod. Go to the Summary in ipod preferences and click Restore to restore this ipod to factory settings."
and all my apps,my ipod name info, sync tab gone except "summary" tab where you can only restore to factory settings
so I revert back to 4.1 and works fine again
what's wrong with update 4.2.1??
any solution for this??{quote:title=LostInDharma wrote:}{quote
I decided to resync from a PC in work. I managed to set it up as a new phone and put on some podcasts no problem. So maybe the problem is with my itunes on my home PC ?
I might try to re-install it at home.
Good idea, but be aware that all media content will be erased again because you're syncing to a different iTunes library.
If you have things to keep, back up manually by right clicking on the phone in the device list and choosing "backup".
Make sure to have at least one contact and event set up on your PC to be able to merge your data during the first sync.
Purchases can be transferred by right clicking and choosing "transfer purchases" without the sync process.
See also this article about the content of your backup: http://support.apple.com/kb/HT1766 -
"list backup of tablespace" - Not coming out back to RMAN prompt
Hi All,
We have a script to perform the restore and recover test process.
In that we have given the command "list backup of tablespace <tablespace name > summary" to check if the tablespace is backedup successfully.
Its returning the list of backup pieces, but it hangs in that stage without coming back to RMAN prompt.
I have manually loged in to rman session and typed "list backup of tablespace <tablespace name > summary", after listing the backup it hangs and not coming back to RMAN prompt.
Please advice on this.
Thanks & Regards,
RakeshAnd your version and operating system are?
Is this a production system with other things running or a home machine with minimal resources?
If Windows specifically which edition of the Windows software (don't just say XP). -
i backup my iphone on my pc and copy backup file into drive D then i setup new OS on my pc. after that i copy the backup file into itunes backup folder but itunes can't find the backup file to restore my iphone. how can i restore my iphone?
Don't you just love changes in interfaces?
I found the answer to my question.
When you attach a device (iPhone, iPad) to your Mac, in iTunes 12 in appears as a tiny icon in the second "row" of the iTunes display. Click the icon and the familiar iTunes display for the device appears. From there, on the Summary screen, you can see the dates of the backups of the device (iCloud and backup to the computer). You can also use the button to backup to the computer. -
What would happen if I turn off my backup and delete backup data From my device? Will it delete my music and everything for ever or just stay in the cloud but not on my device?
If you have multiple devices backing up to the Cloud, you will see all of them listed. You would click on each device to change what is backed up from that device. You can then delete your individual back-ups.
Once you have all your settings to your liking, you can then go back to Settings>iCloud>Storage & Backup, and click on Back Up Now (bottom of the screen) to create a fresh backup with your new settings.
Cheers,
GB -
Errors during LIST BACKUP after backup
Checking my backup logs for ORA- or RMAN- errors brought up this:
RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row
RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT rows
ORACLE error from target database:
ORA-19921: maximum number of 64 rows exceededThat occurred during a "list backup" command that I run after my BACKUP DATABASE command. Files before and after that section run just fine. Is this something I need to be concerned with? Checking back, it looks like it's been happening in my level0 and level1 incrementals for about a week.
This is on Oracle EE 10gR2 (10.2.0.2) on RHEL.hi,
These warnings can be ignored and will not affect rman functionality.
Depending on your RDBMS version :
- Uptill 10.2.0.4 : Ignore the message
- 10.2.0.5 or higher :
Download Patch 8264365 to resolve this issue.
Bug 8264365 is related to the RMAN-executable only, so NOT to the TARGET or CATALOG databases itself. So you need to patch the ORACLE_HOME used by the RMAN-executable.
Thanks
Satish -
RMAN Problem -- Crosscheck backup & list backup showing different results
Pls Help !!!
I'm using RMAN for backup policy is to recovery window of 7 days
but even on thired day after incremental 0 backup ... if run 'crosscheck backup'
it shows the previous as expired but when i issue 'list backup' it says available
what may be the problem.......
Backup volume is on RAID10 (ZFS on SOLARIS 10)
Thanks in advance !!
Regds
Gyanendra Singhif run 'crosscheck backup'
it shows the previous as expired but when i issueHave u deleted the previous backup...........because according to my knowledge crosscheck command is used to validate any inconsistency between the logical and physical backup files.
'list backup' it says available
what may be the problem.......
List backup will show the previous backup because of the recovery window
Try this
crosscheck database
delete expired
list backup
and then see the result
Regards
Amit Raghuvanshi -
Cisco Prime Infra 2.2 + Third Party Inventory and configuration backup
Hi All,
I am having a doubt related to Cisco prime solution capability to do a discovery and config backup for non-cisco devices.
Requirement is to use Cisco prime to do a discovery, inventory and take configuration backup for non-cisco devices. Is it something possible out of the box ?
If not possible out of the box, is there any method to do that using any custom API ?
Can we monitor 3rd party( Non-cisco) devices using Cisco Prime 2.2 ?
SkrHi,
Below is supported-device list, check if your device is listed there.
http://www.cisco.com/c/en/us/support/cloud-systems-management/prime-infrastructure/products-device-support-tables-list.html
- Ashok
Please rate the post or mark as correct answer as it will help others looking for similar information -
Rman list backup; until scn
Hello,
my question might be a little strange, but I would just like to confirm my understanding to be sure about my testing.
Consider the following:
RMAN> list backup
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
5520 396.79M DISK 00:02:38 15-OCT-11
BP Key: 5541 Status: AVAILABLE Compressed: YES Tag: TAG20111015T190048
Piece Name: E:\KPZ\PROD_BACKUP\2011_10_15\O1_MF_ANNNN_TAG20111015T190048_79MKSH03_.BKP
List of Archived Logs in backup set 5520
Thrd Seq Low SCN Low Time Next SCN Next Time
1 37170 690296258 14-OCT-11 690301863 14-OCT-11
1 37171 690301863 14-OCT-11 690306944 14-OCT-11
1 37172 690306944 14-OCT-11 690312517 14-OCT-11
1 37173 690312517 14-OCT-11 690326343 14-OCT-11
1 37174 690326343 14-OCT-11 690328734 14-OCT-11
1 37175 690328734 14-OCT-11 690334332 14-OCT-11
1 37176 690334332 14-OCT-11 690354457 14-OCT-11
1 37177 690354457 14-OCT-11 690365309 14-OCT-11
1 37178 690365309 14-OCT-11 690383830 14-OCT-11
1 37179 690383830 14-OCT-11 690389381 14-OCT-11
1 37180 690389381 14-OCT-11 690399124 14-OCT-11
1 37181 690399124 14-OCT-11 690403117 14-OCT-11
1 37182 690403117 14-OCT-11 690408333 14-OCT-11
1 37183 690408333 14-OCT-11 690411748 14-OCT-11
1 37184 690411748 14-OCT-11 690417353 14-OCT-11
1 37185 690417353 14-OCT-11 690422345 14-OCT-11
1 37186 690422345 14-OCT-11 690428300 15-OCT-11
1 37187 690428300 15-OCT-11 690433347 15-OCT-11
1 37188 690433347 15-OCT-11 690439543 15-OCT-11
1 37189 690439543 15-OCT-11 690444502 15-OCT-11
1 37190 690444502 15-OCT-11 690450317 15-OCT-11
1 37191 690450317 15-OCT-11 690453707 15-OCT-11
1 37192 690453707 15-OCT-11 690457501 15-OCT-11
1 37193 690457501 15-OCT-11 690458775 15-OCT-11
1 37194 690458775 15-OCT-11 690464449 15-OCT-11
1 37195 690464449 15-OCT-11 690469446 15-OCT-11
1 37196 690469446 15-OCT-11 690474941 15-OCT-11
1 37197 690474941 15-OCT-11 690481459 15-OCT-11
1 37198 690481459 15-OCT-11 690484981 15-OCT-11
1 37199 690484981 15-OCT-11 690490292 15-OCT-11
1 37200 690490292 15-OCT-11 690495899 15-OCT-11
1 37201 690495899 15-OCT-11 690500991 15-OCT-11
1 37202 690500991 15-OCT-11 690508506 15-OCT-11
1 37203 690508506 15-OCT-11 690514835 15-OCT-11
1 37204 690514835 15-OCT-11 690519918 15-OCT-11
1 37205 690519918 15-OCT-11 690535732 15-OCT-11
1 37206 690535732 15-OCT-11 690626387 15-OCT-11
1 37207 690626387 15-OCT-11 690629393 15-OCT-11
1 37208 690629393 15-OCT-11 690634991 15-OCT-11
1 37209 690634991 15-OCT-11 690640154 15-OCT-11
1 37210 690640154 15-OCT-11 690646056 15-OCT-11
1 37211 690646056 15-OCT-11 690651236 15-OCT-11
1 37212 690651236 15-OCT-11 690656775 15-OCT-11
1 37213 690656775 15-OCT-11 690662593 15-OCT-11
1 37214 690662593 15-OCT-11 690668154 15-OCT-11
1 37215 690668154 15-OCT-11 690673574 15-OCT-11
1 37216 690673574 15-OCT-11 690677649 15-OCT-11
1 37217 690677649 15-OCT-11 690683129 15-OCT-11
1 37218 690683129 15-OCT-11 690688406 15-OCT-11
1 37219 690688406 15-OCT-11 690693988 15-OCT-11
1 37220 690693988 15-OCT-11 690698971 15-OCT-11
1 37221 690698971 15-OCT-11 690705146 15-OCT-11
1 37222 690705146 15-OCT-11 690710236 15-OCT-11
1 37223 690710236 15-OCT-11 690715886 15-OCT-11
1 37224 690715886 15-OCT-11 690719326 15-OCT-11
1 37225 690719326 15-OCT-11 690724866 15-OCT-11
1 37226 690724866 15-OCT-11 690729976 15-OCT-11
1 37227 690729976 15-OCT-11 690735596 15-OCT-11
1 37228 690735596 15-OCT-11 690740660 15-OCT-11
1 37229 690740660 15-OCT-11 690746167 15-OCT-11
1 37230 690746167 15-OCT-11 690751851 15-OCT-11
1 37231 690751851 15-OCT-11 690756900 15-OCT-11
1 37232 690756900 15-OCT-11 690759044 15-OCT-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
5521 Incr 0 494.68M DISK 00:03:24 15-OCT-11
BP Key: 5542 Status: AVAILABLE Compressed: YES Tag: TAG20111015T195017
Piece Name: E:\KPZ\PROD_BACKUP\2011_10_15\O1_MF_NNND0_TAG20111015T195017_79MKZP6W_.BKP
List of Datafiles in backup set 5521
File LV Type Ckp SCN Ckp Time Name
14 0 Incr 690768806 15-OCT-11 E:\ORACLE\ORADATA\KPZP\DATAFILES\CCAPP.DBF
126 0 Incr 690768806 15-OCT-11 E:\ORACLE\ORADATA\KPZP\DATAFILES\WAAPP.DBF
131 0 Incr 690768806 15-OCT-11 E:\ORACLE\ORADATA\KPZP\DATAFILES\PSDEFAULT02.DBF
BS Key Type LV Size Device Type Elapsed Time Completion Time
5522 Incr 0 193.66M DISK 00:01:38 15-OCT-11
BP Key: 5543 Status: AVAILABLE Compressed: YES Tag: TAG20111015T195017
Piece Name: E:\KPZ\PROD_BACKUP\2011_10_15\O1_MF_NNND0_TAG20111015T195017_79ML6DXJ_.BKP
List of Datafiles in backup set 5522
File LV Type Ckp SCN Ckp Time Name
3 0 Incr 690769344 15-OCT-11 E:\ORACLE\ORADATA\KPZP\DATAFILES\UNDOTBS01.DBF
4 0 Incr 690769344 15-OCT-11 E:\ORACLE\ORADATA\KPZP\DATAFILES\USERS01.DBF
128 0 Incr 690769344 15-OCT-11 E:\ORACLE\ORADATA\KPZP\DATAFILES\SYSAUX02.DBF
132 0 Incr 690769344 15-OCT-11 E:\ORACLE\ORADATA\KPZP\DATAFILES\UNDO3.DBF
BS Key Type LV Size Device Type Elapsed Time Completion Time
5523 Incr 0 644.30M DISK 00:04:11 15-OCT-11
BP Key: 5544 Status: AVAILABLE Compressed: YES Tag: TAG20111015T195017
Piece Name: E:\KPZ\PROD_BACKUP\2011_10_15\O1_MF_NNND0_TAG20111015T195017_79ML9NMK_.BKP
List of Datafiles in backup set 5523
File LV Type Ckp SCN Ckp Time Name
1 0 Incr 690770341 15-OCT-11 E:\ORACLE\ORADATA\KPZP\DATAFILES\SYSTEM01.DBF
2 0 Incr 690770341 15-OCT-11 E:\ORACLE\ORADATA\KPZP\DATAFILES\SYSAUX01.DBF
127 0 Incr 690770341 15-OCT-11 E:\ORACLE\ORADATA\KPZP\DATAFILES\SYSTEM02.DBF
129 0 Incr 690770341 15-OCT-11 E:\ORACLE\ORADATA\KPZP\DATAFILES\SYSAUX03.DBF
BS Key Size Device Type Elapsed Time Completion Time
5524 18.86M DISK 00:00:10 15-OCT-11
BP Key: 5545 Status: AVAILABLE Compressed: YES Tag: TAG20111015T200023
Piece Name: E:\KPZ\PROD_BACKUP\2011_10_15\O1_MF_ANNNN_TAG20111015T200023_79MLKTVM_.BKP
List of Archived Logs in backup set 5524
Thrd Seq Low SCN Low Time Next SCN Next Time
1 37233 690759044 15-OCT-11 690764137 15-OCT-11
1 37234 690764137 15-OCT-11 690768526 15-OCT-11
1 37235 690768526 15-OCT-11 690770962 15-OCT-11
RMAN> /** I left out some lines that seemed duplicate for my question - lines with the same SCN and some older archived logs. I can post the whole thing if it should turn out to be relevant.
What SCN would be appropriate for me to use, taking into account this is a level 0 incremental backup, to restore to the point of a full backup?
I'm fairly sure i can do the following: (and yes, this will result in a successful restore/recover)
run{
set until scn 690770341;
restore database;
switch datafile all;
recover database;
} But is that really the point that I should recover to? The other alternative would be to recover to the SCN of those archivelogs at the very bottom?
Thank you for any comments, whatever they are :-)I am copying the backups between different hosts (or external tape applications) and building the database from backups. So I create a blank instance and catalog the backup files, then specify an SCN to restore/recover.
Would the SCN part be unneeded? I guess if I want to recover to the latest possible state, I do not need to specify any SCN :-). For testing purposes I only specified the full backup SCN to save time, but in the event this would be needed in a production environment, you are right that I would need to recover to the latest possible SCN. Thanks for pointing that out. -
I am using the following commands.
RMAN> sql "alter session set nls_date_format=''dd-mon-yyyy HH24:MI:SS''";
2> report unrecoverable database;
3> report need backup days 2 database;
4> list backup;
5> EXIT;
BS Key Type LV Size Device Type Elapsed Time Completion Time------- ---- -- ---------- ----------- ------------ ---------------
6249525 Full 68G SBT_TAPE 01:38:05 *25-OCT-2010*
BP Key: 6249547 Status: AVAILABLE Tag: TAG20101025T040741
Even after setting nls_date_format, completion time in list backup command is not returning exact time..it is returning just the date..
how to get completion time in RMAN LIST BACKUP COMMAND with hour,minute and second details...please let me know
I am using catalog database...target database version 9i and catalog db version is 10g.
Thanks,
dbNLS_DATE_FORMAT at OS level
I tied this export NLS_DATE_FORMAT=DD-MON-YYYY HH24:MI:SS is throwing error
NLS_DATE_FORMAT=DD-MON-YYYY: is not an identifier, please tell me what i am missing?
Maybe you are looking for
-
Error when creating transport request in 000 clinet
Hi All, I am getting the below message when creating a transport request manually in 000 client Requests can only be created from ChaRM! Message no. 38001 How can I deactivate charm for short time and then activate it again? Please let me know your s
-
Windows application design methods?
New to Java I'm having the same problems as others... totally incomprehensible behaviours and jargon. I need to get Windows application made. Is there a graphical, drag&drop layout tool in which I can place 'controls' such as buttons, panels, tool
-
Video doesnt play but song does
I got a song from i tunes and it downloaded fine to my ipod but now it only plays the song with a pic and not the video...it plays from my computers itunes libray but not the ipod. I keep clicking the middle button but that does not help either. aaaa
-
Doc attachment to INSPECTION LOT
i want to attach a doc to inspection lot, as per std sap, inspection lot is not an object link. if i want an attachment, wht i have to do? is it a development? i have to develop a object link "inspection lot"? and develope a screen? how to do? wht a
-
I'm trying to back up my iphone and get notified of the session ID is missing, i'm using MacBook Air