Tablespace backup list for recovery
Hi,
I plan to backup at tablesapce level instead of whole database. Other than the tablespaces used for the application, do I have to backup system and other tablespaces in 9i to guarantee recovery? The DB is on archivelog mode. Thanks.
Tracy
(Off forum answer)
Tracy,
Recovery does depend on what is it that you have lost wrt database. If you have lost some datafiles - due to disk corruption, then just bringing in those files is not helpful.
You need to take a full backup of all files that constitute the database - control, data, redo).
- Jojo
Similar Messages
-
Single Tablespace Backup, Restore and Recovery
Hi Experts,
I need your kind help. Actually I want to take hot backup by RMAN for a particular TABLESPACE ..
I know this is possible. My question is when I restore a tablespace to any other test database
I need to create new database or I can restore it to any existing database? Just like adding new tablespace??
To recover this tablespace I need to archive log backup ?
How I can open the database on which I m going to restore/recover this particular tablespace ???
Regards,
RizwanYou cannot copy a tablespace from one database to another using the normal Backup/Restore methods.
You have to use the TTS (Transportable Tablespace) methods.
See http://download.oracle.com/docs/cd/E11882_01/server.112/e17120/tspaces013.htm#ADMIN01101
Hemant K Chitale
http://hemantoracledba.blogspot.com -
Rescue and Recovery: No backups available for "local hard drive" with Full Restore
I can see all my backups in "view all backups" and can restore individual files, although when I select the option for "full restore", it reboots my PC and brings up the Rescue and Recovery interface which gives me the option for "full restore". When I select "full restore", it asks me to select the source.
As my backups are stored on my local hard drive, I select that source, however the scroll box is empty (no backups available for selection).
Can anyone recommend a solution to fix this problem, or should I remove and re-install Rescue and Recovery, then create new backups (and hope they appear in the list for full restore)?
I am running Rescue and Recovery 4.21.0016.00 on a Lenovo T61p with XP SP3.
Thanks.
Gary GrathenAlso, I have RnR 4.00.0117.00.
Where do I find and how do I delete these massive files?
Note from Moderator: Please update your profile with your correct country location as per the forum rules. Products, options and services vary from market to market. Knowing your location helps us help you.
Message Edited by nonny on 04-24-2008 02:15 PM -
Hi
We have a Windows 2012 server with Exchange 2013, all is working fine except now i am getting issues with the backup.
'Exchange - The application will not be available for recovery from this backup. the consistency check failed for the component Microsoft Exchange Server'
I have checked the database all is fine, i have created a new db and move all mailbox;s over and then removed the old db, i have enabled circular logging and then disabled it, it seems no matter what i do i cannot get a full backup!
i did have to restore the server once and the backups still worked for about 4 days after that and then stopped, i have also tried to remove and re add the backup role!
i am stumped, any advice would be great!Hi
Ok, i created a test db and tried to back it up right away, it failed, i did not add any mailbox's to it either. i got quite a few events in the windows logs, as well as the same event above i got the following:
Log Name: Application
Source: MSExchangeRepl
Date: 21/01/2013 10:16:30
Event ID: 2038
Task Category: Exchange VSS Writer
Level: Warning
Keywords: Classic
User: N/A
Computer: NERDS-DC01.nerds.local
Description:
Microsoft Exchange VSS Writer backup failed. No log files were truncated. Instance 75754d0d-8dfe-4909-8beb-5a4f824254a9. Database 4843b37c-7b3c-42b2-8b57-1393615c2c15.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchangeRepl" />
<EventID Qualifiers="32772">2038</EventID>
<Level>3</Level>
<Task>2</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
<EventRecordID>261645</EventRecordID>
<Channel>Application</Channel>
<Computer>NERDS-DC01.nerds.local</Computer>
<Security />
</System>
<EventData>
<Data>75754d0d-8dfe-4909-8beb-5a4f824254a9</Data>
<Data>4843b37c-7b3c-42b2-8b57-1393615c2c15</Data>
</EventData>
</Event>
AND
Log Name: Application
Source: MSExchangeRepl
Date: 21/01/2013 10:16:30
Event ID: 2038
Task Category: Exchange VSS Writer
Level: Warning
Keywords: Classic
User: N/A
Computer: NERDS-DC01.nerds.local
Description:
Microsoft Exchange VSS Writer backup failed. No log files were truncated. Instance 75754d0d-8dfe-4909-8beb-5a4f824254a9. Database db5826f3-1029-4219-ad80-441a0e94537a.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchangeRepl" />
<EventID Qualifiers="32772">2038</EventID>
<Level>3</Level>
<Task>2</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
<EventRecordID>261646</EventRecordID>
<Channel>Application</Channel>
<Computer>NERDS-DC01.nerds.local</Computer>
<Security />
</System>
<EventData>
<Data>75754d0d-8dfe-4909-8beb-5a4f824254a9</Data>
<Data>db5826f3-1029-4219-ad80-441a0e94537a</Data>
</EventData>
</Event>
and
Log Name: Application
Source: MSExchangeRepl
Date: 21/01/2013 10:16:30
Event ID: 2034
Task Category: Exchange VSS Writer
Level: Error
Keywords: Classic
User: N/A
Computer: NERDS-DC01.nerds.local
Description:
The Microsoft Exchange Replication service VSS Writer (Instance 75754d0d-8dfe-4909-8beb-5a4f824254a9) failed with error FFFFFFFC when processing the backup completion event.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchangeRepl" />
<EventID Qualifiers="49156">2034</EventID>
<Level>2</Level>
<Task>2</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
<EventRecordID>261649</EventRecordID>
<Channel>Application</Channel>
<Computer>NERDS-DC01.nerds.local</Computer>
<Security />
</System>
<EventData>
<Data>75754d0d-8dfe-4909-8beb-5a4f824254a9</Data>
<Data>FFFFFFFC</Data>
</EventData>
</Event>
and
Log Name: Application
Source: SPP
Date: 21/01/2013 10:16:30
Event ID: 16389
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: NERDS-DC01.nerds.local
Description:
Writer Microsoft Exchange Writer experienced retryable error during shadow copy creation. Retrying... More info: .
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="SPP" />
<EventID Qualifiers="0">16389</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
<EventRecordID>261650</EventRecordID>
<Channel>Application</Channel>
<Computer>NERDS-DC01.nerds.local</Computer>
<Security />
</System>
<EventData>
<Data>Microsoft Exchange Writer</Data>
<Data>
</Data>
<Data>The writer experienced a transient error. If the backup process is retried, the error may not reoccur. (0x800423F3)</Data>
<Data>
</Data>
<Binary>00000000A5120000981200000000000042BEB7C511CAC619E59C92030000000000000000</Binary>
</EventData>
</Event> -
Can't get rid of old bookmark list for current list to save for backup
My computer was infected with malware and crashed in November. I lost everything but was able to get my bookmarks back with a jump drive.
I then went in and removed a lot of bookmarks and folders, and have added a lot of other folders and bookmarks over time. I do mean a lot.
I am now trying to make a current back up, but every time I try to export it to html format it reverts back to the original list that was edited to the current list, which I can see, and even though it does light up when I select all, it again reverts back to the original list for export, and will not show the list as is now.
Am curious why the original list is even here, as it should of disappeared when the computer crashed, so how can it still be here is another question, but this is not my main question of course.
How do I get rid of the original list and get it to export the current list for back up? PLEASE! Once bitten twice shy.
Running XP Professional on a Sony Vaio 2002.
I have tried to make a copy in a word doc but cannot get it to "copy" to paste to put it into that format.
Thank you in advance, TrishaI'm still unclear what is happening when you export.
This article has the steps to export bookmarks to an HTML file: [[Export Firefox bookmarks to an HTML file to back up or transfer bookmarks]].
Are you saying that the file you export contains the old bookmarks that you removed, or the old bookmarks reappear in Firefox when you try to export??
The JSON format consists of text, but isn't meant to be easily read. Its real purpose is to be restored back to Firefox is you lose your bookmarks. So it is a convenient backup format.
I can understand that you aren't sure what it contains. If you'd like to see how it restores, you can copy the .json file to a convenient location (e.g., thumb drive or documents folder) and restore it into a new Firefox profile.
This doesn't replace your existing Firefox settings, but would be an independent settings folder that exists alongside it. You can create and switch between profiles for testing, to isolate different users, or other purposes. Just don't delete any profiles without backing up the ones you really care about, just in case something were to go wrong during the process.
Exit Firefox and start up in the Profile Manager using Start > search box (or Run):
firefox.exe -P
Any time you want to switch profiles, exit Firefox and return to this dialog.
When creating a new profile, I recommend using the default location suggested, and to avoid data loss, not re-using any existing folder.
Once you get the new profile with its default bookmarks, you can restore your last .json backup to see what it includes. This is where the "convenient location" comes in: when using the steps in the following article, you will use "Choose File" to locate that .json file. [[Restore bookmarks from backup or move them to another computer]]. -
I am trying to confirm the time at which a particular backup occurred using an external hard drive that I have since misplaced. Although time machine lists the backup times for some backups, it does not list them for all, including the one in question. Can someone help?
Okay, I've sussed it. I saw a link to another discussion that hadn't turned up in any of my searches before I posted the question above.
My Tosh HDD was formatted to FAT 32 and therefore would not be backed up by Time Machine. I removed all data from it - nightmare as I hadn't enough space to put it on the macbook HDD, but, after trawling through numerous photos and deleting rubbish for hours, I finally made enough space and copied all data across. Then, after clearing the data from the Tosh HDD, I used disk utilitity to reformat it to Mackintosh OS Extended. Chose the option without kournalling because I'm not baking up onto this disk and so don't need it - according to some other discussions I found.
When it was done I check on time machine in system prefs and once I selected options, I was able to remove it from the excluded from backups list. Hey presto. Now I'm moving my photo library and my music library onto the Tosh HDD and my macbook should start to breath again. Hurray. -
SBS Exchange not available for recovery with Server Backup
Hi
I have a Small Business Server 2008 that we have taken over, and have found that the Exchange has not been backed up over the last 2 years, showing now a total of around 62000 log files,
When running windows backup it gets to the screen showing
"Running consistency check for application Exchange"
This then fails, and the backup continues, but then tells me after that "Completed with Warnings"
and under the errors in windows server backup it says "Application will not be available for recovery from this backup, Consistency check failed for components Microsoft Exchange Server"
The following is what I have done to try resolve this issue,
Stopped SQL services then tried running the backup
Stopped Information store and tried running backup
Used Eseutil /D
Enabled Circular logging on the Exchange and tried the backup again,
Please remember this database has not been backed up in 3 years, and there are log files from 2011, so loosing all the data is not an option,
Regards
Sergio SpinolaLoosing the data is unlikely, and most of those logs will have been committed already.
If you dismount the store, and run eseutil /mh "dbpath.edb" you can see which log files are required for the store to mount.
Please review: http://support.microsoft.com/kb/2616952/en-us
Robert Pearman SBS MVP
itauthority.co.uk |
Title(Required)
Facebook |
Twitter |
Linked in |
Google+ -
My old iPhone (I no longer have) is still an active device on my iCloud backup list. Is it safe to delete it? Can I be sure everything on the cloud for that old device has been transferred?
The only way the backup from ilcoud has been transferred to a new apple device would be if YOU restored the new device with the mentioned backup. There is nothing 'safe' about you deleting this backup if in fact you have not restored the new device with this backup.
Good luck Friend. -
Ability to print out hardcopy of password list for backup
This is not a problem but don't see where else to post this. I am anal about backups of all levels. I find it frustrating to not be able to print out the password list for local storage backup.
I rarely find that I am the only person who thinks of or wants something and surprised to see no add on or other option to allow this.http://the-edmeister.com/firefox_info/Firefox_Passwords_Info.html <br />
Please read the instructions carefully
You are better off backing up all your Firefox information. <br />
http://support.mozilla.com/en-US/kb/Backing+up+your+information -
T500 - HDD for Ultrabay - can it be used for Recovery Media & Backups & Page File & data?
I'm learning to check first before buying things.
I am considering getting a generic ultrabay SATA adapter
http://cgi.ebay.com/SATA-adapter-IBM-THINKPAD-43N3412-R400-W500-X200S-R500-/130441260492
and a WD 7,200 HDD
http://www.newegg.com/Product/Product.aspx?Item=N82E16822136278
Can the ultrabay HDD be used for Recovery Media, and also Backups, page file, and other data?
And can the Backups on this HDD be deleted, so only the last backup is present?
Also, is it possible to use a HDD in the ultrabay slot, without an adpater? My T500 is a desktop replacement currently, so the HDD wouldn't need to be protected from movement or bumps.
Thanks for any ideasFor all of you who know less than I do, a HDD in the ultrabay slot can be used as a Recovery boot, and for the R&R backups.
These must both be put on the primary partition of the HDD.
I believe, but can't test or confirm, that another partition (logical partition) could be added to the drive and used for page filing and data. -
Recommendations for recovery catalog database backup
Hi
We are using IBM Tivoli Storage Manager for our 9i db on AIX 5.2.
I would like us to consider using rman but I am not sure of the best way we would go about backing up the database we would use for our recovery catalog.
This database that hold all the metadata would need to be backed up after every rman backup. The rman backup would go to tape, so I am assuming that the recovery catalog would be backed up on tape also.
What are the common procedures for this in other shops ?Dan A wrote:
Aman. That doc does help, and indeed it does explain
Back up the recovery catalog with the same frequency that you back up the target database.
We would be doing nightly backups, so we would have to back up the catalog with the same frequency.
The doc explains that we would use rman for these backups also, but that it would be in NOCATALOG mode so that the repository is in the control file.
And then what? Just copy this to tape? Seems that with rman there is then a need to do two backups - one of the target db and one of the recovery catalog.
Thanks.I shall suggest to take an export of the underlying schema which is holding the info in the recovery catalog. That's all which is basically required to be safe. In case , everything gets burnt regarding the catalog db,you can immediately create another db, import the user back there and things are in place. This should be a quick and easy way out of the backup of recovery catalog.
Yes if you are going to take backups every night than backup of recovery catalog schema/db nightly will be a good option. Docs are meant to promote people for RMAN so indeed they would talk about it. But its not at all a compulstion to use RMAN for recovery catalog schema's backup. If its a big catalog maintaining lots of database's info than using RMAN with all its features is a good option. If a single db is a part of it than it may not be that much big and export of teh schema alone may serve the purpose too.
HTH
Aman.... -
Tablespace Point in Time Recovery fails with RMAN-06026:
I have cataloged with RMAN the datafiles from Snapshot backup. Still it fails with the following error.
RMAN> RECOVER TABLESPACE TSPC UNTIL TIME "to_date('03-apr-2013 02:18:00','dd-mon-yyyy hh24:mi:ss')" AUXILIARY DESTINATION '/tmp/auxpran';
Starting recover at 03-APR-13
using channel ORA_DISK_1
RMAN-05026: WARNING: presuming following set of tablespaces applies to specified point-in-time
List of tablespaces expected to have UNDO segments
Tablespace SYSTEM
Tablespace UNDOTBS1
Creating automatic instance, with SID='Ebgt'
initialization parameters used for automatic instance:
db_name=ORCL
db_unique_name=Ebgt_tspitr_ORCL
compatible=11.2.0.0.0
db_block_size=8192
db_files=200
sga_target=280M
processes=50
db_create_file_dest=/tmp/auxpran
log_archive_dest_1='location=/tmp/auxpran'
#No auxiliary parameter file used
starting up automatic instance ORCL
Oracle instance started
Total System Global Area 292933632 bytes
Fixed Size 1336092 bytes
Variable Size 100666596 bytes
Database Buffers 184549376 bytes
Redo Buffers 6381568 bytes
Automatic instance created
Running TRANSPORT_SET_CHECK on recovery set tablespaces
TRANSPORT_SET_CHECK completed successfully
contents of Memory Script:
# set requested point in time
set until time "to_date('03-apr-2013 02:18:00','dd-mon-yyyy hh24:mi:ss')";
# restore the controlfile
restore clone controlfile;
# mount the controlfile
sql clone 'alter database mount clone database';
# archive current online log
sql 'alter system archive log current';
# avoid unnecessary autobackups for structural changes during TSPITR
sql 'begin dbms_backup_restore.AutoBackupFlag(FALSE); end;';
executing Memory Script
executing command: SET until clause
Starting restore at 03-APR-13
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=19 device type=DISK
channel ORA_AUX_DISK_1: restoring control file
channel ORA_AUX_DISK_1: copied control file copy
input file name=/tmp/auxpran/controlbc.ctl
output file name=/tmp/auxpran/ORCL/controlfile/o1_mf_8opkv8v4_.ctl
Finished restore at 03-APR-13
sql statement: alter database mount clone database
sql statement: alter system archive log current
sql statement: begin dbms_backup_restore.AutoBackupFlag(FALSE); end;
contents of Memory Script:
# set requested point in time
set until time "to_date('03-apr-2013 02:18:00','dd-mon-yyyy hh24:mi:ss')";
# set destinations for recovery set and auxiliary set datafiles
set newname for clone datafile 1 to new;
set newname for clone datafile 3 to new;
set newname for clone datafile 2 to new;
set newname for clone tempfile 1 to new;
set newname for datafile 5 to
"+DG_DATA/orcl/datafile/tspc.268.811733685";
# switch all tempfiles
switch clone tempfile all;
# restore the tablespaces in the recovery set and the auxiliary set
restore clone datafile 1, 3, 2, 5;
switch clone datafile all;
executing Memory Script
executing command: SET until clause
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
renamed tempfile 1 to /tmp/auxpran/ORCL/datafile/o1_mf_temp_%u_.tmp in control file
Starting restore at 03-APR-13
using channel ORA_AUX_DISK_1
One or more auxiliary set datafiles could not be removed
Removing automatic instance
shutting down automatic instance
database dismounted
Oracle instance shut down
Automatic instance removed
auxiliary instance file /tmp/auxpran/ORCL/controlfile/o1_mf_8opkv8v4_.ctl deleted
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 04/03/2013 02:32:55
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
Could anyone please reply ASAP?
Regards,
PranamI had created a snapshot of the database(datafiles and archivelogs) and cataloged them.
CATALOG START WITH "+TBL_DG_DATA/ORCL/DATAFILE/" NOPROMPT;
catalog start with "+DG_ARCH/ORCL/ARCHIVELOG/" NOPROMPT;
The time i gave was after the snapshot was created.
When it failed the first time I created another controlfile using
sql "alter database backup controlfile to ''/tmp/auxpran/controlbc.ctl''";
And ran the recover command after the time after i generated this controlfile. Changed nothing else. TSPITR completed successfully. But it had failed first time. Cannot figure how it ran the second time but failed the first time.
Removing automatic instance
Automatic instance removed
auxiliary instance file /tmp/auxpran/ORCL/datafile/o1_mf_temp_8opndd87_.tmp deleted
auxiliary instance file /tmp/auxpran/ORCL/onlinelog/o1_mf_3_8opnd1o6_.log deleted
auxiliary instance file /tmp/auxpran/ORCL/onlinelog/o1_mf_2_8opncy32_.log deleted
auxiliary instance file /tmp/auxpran/ORCL/onlinelog/o1_mf_1_8opncv7d_.log deleted
auxiliary instance file /tmp/auxpran/ORCL/datafile/o1_mf_sysaux_8opn516p_.dbf deleted
auxiliary instance file /tmp/auxpran/ORCL/datafile/o1_mf_undotbs1_8opn4j14_.dbf deleted
auxiliary instance file /tmp/auxpran/ORCL/datafile/o1_mf_system_8opmyvly_.dbf deleted
auxiliary instance file /tmp/auxpran/ORCL/controlfile/o1_mf_8opmy14q_.ctl deleted
Finished recover at 03-APR-13 -
Unable to recover tablespace point in time recovery
Hi,
I am trying to recover the tablespace point in time recovery but its throwing an error
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 04/27/2011 17:22:13
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06024: no backup or copy of the control file found to restore
Question: Do I need to take prior backup before doing tablespace point in time recovery.
Please help me.Thanks for the info...
I have taken the full back and tried the same scenrio, now I am getting
contents of Memory Script:
# shutdown clone before import
shutdown clone immediate
# drop target tablespaces before importing them back
sql 'drop tablespace A including contents keep datafiles';
executing Memory Script
database closed
database dismounted
Oracle instance shut down
sql statement: drop tablespace A including contents keep datafiles
Removing automatic instance
shutting down automatic instance
target database instance not started
Automatic instance removed
auxiliary instance file /home/oracle/auxdest/TEST/datafile/o1_mf_temp_6vj4c78c_.tmp deleted
auxiliary instance file /home/oracle/auxdest/TEST/onlinelog/o1_mf_3_6vj4c5nk_.log deleted
auxiliary instance file /home/oracle/auxdest/TEST/onlinelog/o1_mf_1_6vj4c4k1_.log deleted
auxiliary instance file /home/oracle/auxdest/TEST/datafile/o1_mf_sysaux_6vj49h7l_.dbf deleted
auxiliary instance file /home/oracle/auxdest/TEST/datafile/o1_mf_undotbs1_6vj49hbl_.dbf deleted
auxiliary instance file /home/oracle/auxdest/TEST/datafile/o1_mf_system_6vj49hbw_.dbf deleted
auxiliary instance file /home/oracle/auxdest/TEST/controlfile/o1_mf_6vj49813_.ctl deleted
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 04/27/2011 18:23:02
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of sql command on default channel at 04/27/2011 18:23:02
RMAN-11003: failure during parse/execution of SQL statement: drop tablespace A including contents keep datafiles
ORA-00604: error occurred at recursive SQL level 1
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
RMAN>
Please help me -
Consolidated backup report for Non-RMAN
We need to prepare a consolidated backup report. need to customize it and produce a master list for production backup failures/ non prod backup failures
wondering what's the options & how to do that ....Oracle maintains no information about User Managed Backups.
The only things that you can get are the
"ALTER TABLESPACE||DATABASE BEGIN BACKUP" and ".. END BACKUP"
commands from the alert.log. You could write a script to parse the alert.log
and find the start and end times for the BEGIN and END BACKUPs. -
How to find what archivelogs are needed for recovery
From Hemants sir's blog:
http://hemantoracledba.blogspot.com/2010/03/misinterpreting-restore-database.html
"You can query V$ARCHIVED_LOG for FIRST_CHANGE# and FIRST_TIME besides SEQUENCE#. That way, you can match SCN (FIRST_CHANGE#), Time and Sequence to determine which ArchiveLogs are need. The RMAN LIST BACKUP command shows you the Checkpoint SCN for all datafiles in a backup, so you need ArchiveLogs from the point of the earliest Checkpoint SCN in that backup set."
How can i find the earliest checkpoint SCN from the backupsets?
Any queries to find the earliest SCN in backupset(RC views)?
Edited by: user9097501 on Aug 10, 2010 6:38 AMIf i have to refresh the database from the backup of 9-AUG so the earliest SCN from where recovery would be needed is 60279026593 ?
RMAN> list backup of datafile 1;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
43210 Incr 0 13.25G DISK 03:55:03 25-DEC-2009 15:52
List of Datafiles in backup set 43210
File LV Type Ckp SCN Ckp Time Name
1 0 Incr 46646244284 25-DEC-2009 11:57 +DBDATA/dnbib/datafile/system.455.675750017
Backup Set Copy #1 of backup set 43210
Device Type Elapsed Time Completion Time Compressed Tag
DISK 03:55:03 25-DEC-2009 15:51 YES FORCLONE
List of Backup Pieces for backup set 43210 Copy #1
BP Key Pc# Status Piece Name
51423 1 AVAILABLE /backup/bkup_for_clone_GOCPRD_20091225_44019_1.bak
51424 2 AVAILABLE /backup/bkup_for_clone_GOCPRD_20091225_44019_2.bak
51425 3 AVAILABLE /backup/bkup_for_clone_GOCPRD_20091225_44019_3.bak
51426 4 AVAILABLE /backup/bkup_for_clone_GOCPRD_20091225_44019_4.bak
51427 5 AVAILABLE /backup/bkup_for_clone_GOCPRD_20091225_44019_5.bak
51428 6 AVAILABLE /backup/bkup_for_clone_GOCPRD_20091225_44019_6.bak
51429 7 AVAILABLE /backup/bkup_for_clone_GOCPRD_20091225_44019_7.bak
BS Key Type LV Size Device Type Elapsed Time Completion Time
43367 Incr 0 15.33G DISK 03:39:25 19-FEB-2010 23:43
List of Datafiles in backup set 43367
File LV Type Ckp SCN Ckp Time Name
1 0 Incr 49260361949 19-FEB-2010 20:03 +DBDATA/dnbib/datafile/system.455.675750017
Backup Set Copy #1 of backup set 43367
Device Type Elapsed Time Completion Time Compressed Tag
DISK 03:39:25 19-FEB-2010 23:42 YES FORCLONE
List of Backup Pieces for backup set 43367 Copy #1
BP Key Pc# Status Piece Name
51819 1 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/na1stg/bkup_for_clone_GOCPRD_20100219_44170_1.bak
51820 2 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/na1stg/bkup_for_clone_GOCPRD_20100219_44170_2.bak
51821 3 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/na1stg/bkup_for_clone_GOCPRD_20100219_44170_3.bak
51822 4 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/na1stg/bkup_for_clone_GOCPRD_20100219_44170_4.bak
51823 5 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/na1stg/bkup_for_clone_GOCPRD_20100219_44170_5.bak
51824 6 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/na1stg/bkup_for_clone_GOCPRD_20100219_44170_6.bak
51825 7 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/na1stg/bkup_for_clone_GOCPRD_20100219_44170_7.bak
51826 8 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/na1stg/bkup_for_clone_GOCPRD_20100219_44170_8.bak
BS Key Type LV Size Device Type Elapsed Time Completion Time
43518 Incr 0 13.70G DISK 04:26:50 03-APR-2010 12:12
List of Datafiles in backup set 43518
File LV Type Ckp SCN Ckp Time Name
1 0 Incr 51275194891 03-APR-2010 07:46 +DBDATA/dnbib/datafile/system.455.675750017
Backup Set Copy #1 of backup set 43518
Device Type Elapsed Time Completion Time Compressed Tag
DISK 04:26:50 03-APR-2010 12:12 YES FORCLONE
List of Backup Pieces for backup set 43518 Copy #1
BP Key Pc# Status Piece Name
52481 1 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/GOCPRD/bkup_for_clone_GOCPRD_20100403_44346_1.bak
52482 2 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/GOCPRD/bkup_for_clone_GOCPRD_20100403_44346_2.bak
52483 3 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/GOCPRD/bkup_for_clone_GOCPRD_20100403_44346_3.bak
52484 4 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/GOCPRD/bkup_for_clone_GOCPRD_20100403_44346_4.bak
52485 5 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/GOCPRD/bkup_for_clone_GOCPRD_20100403_44346_5.bak
52486 6 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/GOCPRD/bkup_for_clone_GOCPRD_20100403_44346_6.bak
52487 7 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/GOCPRD/bkup_for_clone_GOCPRD_20100403_44346_7.bak
BS Key Type LV Size Device Type Elapsed Time Completion Time
43599 Incr 0 16.56G DISK 04:36:51 11-APR-2010 03:35
List of Datafiles in backup set 43599
File LV Type Ckp SCN Ckp Time Name
1 0 Incr 51583056741 10-APR-2010 22:58 +DBDATA/dnbib/datafile/system.455.675750017
Backup Set Copy #1 of backup set 43599
Device Type Elapsed Time Completion Time Compressed Tag
DISK 04:36:51 11-APR-2010 03:35 YES FORCLONE
List of Backup Pieces for backup set 43599 Copy #1
BP Key Pc# Status Piece Name
52841 1 EXPIRED /backup/bkup_for_clone_GOCPRD_20100410_44440_1.bak
52842 2 EXPIRED /backup/bkup_for_clone_GOCPRD_20100410_44440_2.bak
52843 3 EXPIRED /backup/bkup_for_clone_GOCPRD_20100410_44440_3.bak
52844 4 EXPIRED /backup/bkup_for_clone_GOCPRD_20100411_44440_4.bak
52845 5 EXPIRED /backup/bkup_for_clone_GOCPRD_20100411_44440_5.bak
52846 6 EXPIRED /backup/bkup_for_clone_GOCPRD_20100411_44440_6.bak
52847 7 EXPIRED /backup/bkup_for_clone_GOCPRD_20100411_44440_7.bak
52848 8 EXPIRED /backup/bkup_for_clone_GOCPRD_20100411_44440_8.bak
52849 9 EXPIRED /backup/bkup_for_clone_GOCPRD_20100411_44440_9.bak
BS Key Type LV Size Device Type Elapsed Time Completion Time
43637 Incr 0 16.37G DISK 05:13:41 18-APR-2010 04:09
Keep: LOGS Until: FOREVER
List of Datafiles in backup set 43637
File LV Type Ckp SCN Ckp Time Name
1 0 Incr 51953576598 17-APR-2010 22:56 +DBDATA/dnbib/datafile/system.455.675750017
Backup Set Copy #1 of backup set 43637
Device Type Elapsed Time Completion Time Compressed Tag
DISK 05:13:41 18-APR-2010 04:09 YES FORCLONE_17APR
List of Backup Pieces for backup set 43637 Copy #1
BP Key Pc# Status Piece Name
53112 1 EXPIRED /backup/bkup_for_clone_GOCPRD_20100417_44486_1.bak
53113 2 EXPIRED /backup/bkup_for_clone_GOCPRD_20100417_44486_2.bak
53114 3 EXPIRED /backup/bkup_for_clone_GOCPRD_20100417_44486_3.bak
53115 4 EXPIRED /backup/bkup_for_clone_GOCPRD_20100418_44486_4.bak
53116 5 EXPIRED /backup/bkup_for_clone_GOCPRD_20100418_44486_5.bak
53117 6 EXPIRED /backup/bkup_for_clone_GOCPRD_20100418_44486_6.bak
53118 7 EXPIRED /backup/bkup_for_clone_GOCPRD_20100418_44486_7.bak
53119 8 EXPIRED /backup/bkup_for_clone_GOCPRD_20100418_44486_8.bak
53120 9 EXPIRED /backup/bkup_for_clone_GOCPRD_20100418_44486_9.bak
BS Key Type LV Size Device Type Elapsed Time Completion Time
43773 Incr 0 18.31G DISK 03:45:59 27-JUN-2010 16:23
List of Datafiles in backup set 43773
File LV Type Ckp SCN Ckp Time Name
1 0 Incr 58235899541 27-JUN-2010 12:37 +DBDATA/dnbib/datafile/system.455.675750017
Backup Set Copy #1 of backup set 43773
Device Type Elapsed Time Completion Time Compressed Tag
DISK 03:45:59 27-JUN-2010 16:23 YES FOR_DUP
List of Backup Pieces for backup set 43773 Copy #1
BP Key Pc# Status Piece Name
53784 1 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_1.bak
53785 2 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_2.bak
53786 3 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_3.bak
53787 4 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_4.bak
53788 5 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_5.bak
53789 6 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_6.bak
53790 7 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_7.bak
53791 8 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_8.bak
53792 9 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_9.bak
53793 10 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_10.bak
BS Key Type LV Size Device Type Elapsed Time Completion Time
43964 Incr 0 10.59G DISK 03:17:50 05-AUG-2010 03:05
List of Datafiles in backup set 43964
File LV Type Ckp SCN Ckp Time Name
1 0 Incr 60108165915 04-AUG-2010 23:47 +DBDATA/dnbib/datafile/system.455.675750017
Backup Set Copy #1 of backup set 43964
Device Type Elapsed Time Completion Time Compressed Tag
DISK 03:17:50 05-AUG-2010 03:05 YES FOR_DUP
List of Backup Pieces for backup set 43964 Copy #1
BP Key Pc# Status Piece Name
54470 1 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100804_44966_1.bak
54471 2 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100805_44966_2.bak
54472 3 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100805_44966_3.bak
54473 4 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100805_44966_4.bak
54474 5 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100805_44966_5.bak
54475 6 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100805_44966_6.bak
BS Key Type LV Size Device Type Elapsed Time Completion Time
44020 Incr 0 19.75G DISK 04:13:42 09-AUG-2010 03:15
List of Datafiles in backup set 44020
File LV Type Ckp SCN Ckp Time Name
1 0 Incr 60279026593 08-AUG-2010 23:01 +DBDATA/dnbib/datafile/system.455.675750017
Backup Set Copy #1 of backup set 44020
Device Type Elapsed Time Completion Time Compressed Tag
DISK 04:13:42 09-AUG-2010 03:15 YES FOR_DUP
List of Backup Pieces for backup set 44020 Copy #1
BP Key Pc# Status Piece Name
54990 1 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100808_45009_1.bak
54991 2 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100808_45009_2.bak
54992 3 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100808_45009_3.bak
54993 4 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100808_45009_4.bak
54994 5 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100809_45009_5.bak
54995 6 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100809_45009_6.bak
54996 7 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100809_45009_7.bak
54997 8 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100809_45009_8.bak
54998 9 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100809_45009_9.bak
54999 10 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100809_45009_10.bak
RMAN>
Maybe you are looking for
-
How can I upload digital video from a HDD camcorder to iMac Intel?
I bought a Sony DCR SR100 camcorder with 30 gig HD, and the software that comes with it is Windows only, and the Mac software that they refer you to on the internet says "not Intel Core compatible" So get this - the online support guy from Sony says
-
Photoshop 11 problem with all files not able to display
I recently purchased PS Elements 11. Somehow my photos trippled and in some cases more. I have spent hour deleting triplicate photos and cleaning up folders, tags and pictures. It has been a mess. Yesterday I was working on a Tag and clicked some
-
LabWindows 5.0 cvi to LabWindows​2012
hi i am trying to start the update of a CVI, LabWindows 5.0 to 2012, I already try to run that same labwin CVI in 2012, with the patch Traditinal NI-DAQ, but serious errors occur if I continue running, the pc rebooted. (things appear as uninitialized
-
How are we supposed to handle the Air Disk with the APBS? For example, the Air Disk is running and mounted on my Mac. Then, I can eject it but if I turn the HD off, I hear the heads click out, as if it was still in service. So is there a way to manag
-
Waiting for multiple threads?
I'm currently writing an app which, when a user opens a GUI screen, several threads are created which go away to load data. A "loading..." message should be displayed until all loading threads have completed. What's the best way to implement this?