Need archives earlier than previous backup.
Hi Experts,
Here i want to share and to know the reason of one situation.
DB Version :10.2.0.4
OS Version: Linux
I'm preparing Standby database from RAC database(PRIMARY) ----> (STANDBY) on ASM.
I have taken backup of database on 25-DEC-2010
taken standby controlfile backup on 26-DEC-2010
i restore the database on 28-DEC-2010 and i found some archive gaps after staring MRP process.
I have archive retention of 6 days. so as per retention i have all the archives in primary.
But when i check alert log file, it was requesting for archive which was generated on *01-DEC-2010*... ]:) i have checked completion_time of archive from v$archived_log
I got some basic information. can anyone post your views...
Thanks
STANDBY:-
~~~~
SQL> select min(checkpoint_change#) from v$datafile;
MIN(CHECKPOINT_CHANGE#)
6053066844468
PRIMARY:-
~~~~~~
SQL> select first_change#,next_change# from v$archived_log where sequence# between 8998 and 9008;
FIRST_CHANGE# NEXT_CHANGE#
6052728491241 6052728594833
6052728594833 6052728720598
6052728720598 6052728880838
6052728880838 6052729025406
6052729025406 6052729207089
6052729207089 6052729339202
6052729339202 6052729509994
6052729509994 6052732075048
6052732075048 6052751377975
6052751377975 6052763669833
6052763669833 6052767026703
FIRST_CHANGE# NEXT_CHANGE#
6052840910461 6052847501485
6052847501485 6052857374219
6052857374219 6052857920410
6052857920410 6052858390970
6052858390970 6052898901735
6052898901735 6052899018444
6052899018444 6052906511296
6052906511296 6052926911168
6052926911168 6052947295154
6052947295154 6052947546651
6052947546651 6052949938434
FIRST_CHANGE# NEXT_CHANGE#
6052947546651 6052949938434
6052947546651 6052949938434
24 rows selected.
SQL>
Similar Messages
-
I need pictures from a previous backup!
When I updated to iOS 5 all of my music would not work. Therefor I restored my iPod to a previous backup from almost a year ago. This previous backup didnt have a lot of my pictures so I wanted to restore to the newest back up but before I could do so my computer with that account crashed and would not start up. I have the hard drive from that computer and am going through all of the files to find those pictures. Does anyone know how to locate these files?????? PLEASE HELP!!!!!!!!!!!!!!!
K so can you tell me if this is right?
1 F:\Users\(username)\AppData\Roaming\Apple Computer\MobileSync\
2 then copy the folder named "Backup" FROM THE OLD HD
and Put it in the
C:\Users\(username)\AppData\Roaming\Apple Computer\MobileSync\
OF MY NEW HD?
3 then i will sync my ipod to the laptop i have never synced it to before (a popup says: this ipod is already set up with another library [the library on my old hd] and can only be synced with one. what would you like to do. Erase and Sync, or Transfer Purchases?) <----- what should I click here?
then I will restore my iPod to the necessary update from
that folder under \MobileSync\
All my pictures should be there?
Please tell me if I am correct so I dont perminantly lose my data and pictures?
And Lastly THANK YOU ALL SOOOOO MUCH really. -
I lost my wireless connection to my backup drive for a short time. Now time machine wants to do a full backup. It doesn't know that I have previous backups. How do I point it to the previous backups so that time machine continues to do incremental backups rather than doing another full backup.
I did some more reading and I found that Time Machine would find the older backups once a new backup is completed. The backup ended up being a little larger than previous backups (2.65 GB vs typical incremental backups of several MB's) but when it completed, time machine updated the last backup time/date and the oldest backup time/date properly. So I guess, I don't have a problem.
-
How to find out which archived logs needed to recover a hot backup?
I'm using Oracle 11gR2 (11.2.0.1.0).
I have backed up a database when it is online using the following backup script through RMAN
connect target /
run {
allocate channel d1 type disk;
backup
incremental level=0 cumulative
filesperset 4
format '/san/u01/app/backup/DB_%d_%T_%u_%c.rman'
database
}The backup set contains the backup of datafiles and control file. I have copied all the backup pieces to another server where I will restore/recover the database but I don't know which archived logs are needed in order to restore/recover the database to a consistent state.
I have not deleted any archived log.
How can I find out which archived logs are needed to recover the hot backup to a consistent state? Can this be done by querying V$BACKUP_DATAFILE and V$ARCHIVED_LOG? If yes, which columns should I query?
Thanks for any help.A few ways :
1a. Get the timestamps when the BACKUP ... DATABASE began and ended.
1b. Review the alert.log of the database that was backed up.
1c. From the alert.log identify the first Archivelog that was generated after the begin of the BACKUP ... DATABASE and the first Archivelog that was generated after the end of the BACKUP .. DATABASE.
1d. These (from 1c) are the minimal Archivelogs that you need to RECOVER with. You can choose to apply additional Archivelogs that were generated at the source database to contininue to "roll-forward"
2a. Do a RESTORE DATABASE alone.
2b. Query V$DATAFILE on the restored database for the lowest CHECKPOINT_CHANGE# and CHECKPOINT_TIME. Also query for the highest CHECKPOINT_CHANGE# and CHECKPOINT_TIME.
2c. Go back to the source database and query V$ARCHIVED_LOG (FIRST_CHANGE#) to identify the first Archivelog that has a higher SCN (FIRST_CHANGE#) than the lowest CHECKPOINT_CHANGE# from 2b above. Also query for the first Archivelog that has a higher SCN (FIRST_CHANGE#) than the highest CHECKPOINT_CHANGE# from 2b above.
2d. These (from 2c) are the minimal Archivelogs that you need to RECOVER with.
(why do you need to query V$ARCHIVED_LOG at the source ? If RESTORE a controlfile backup that was generated after the first Archivelog switch after the end of the BACKUP ... DATABASE, you would be able to query V$ARCHIVED_LOG at the restored database as well. That is why it is important to force an archivelog (log switch) after a BACKUP ... DATABASE and then backup the controlfile after this -- i.e. last. That way, the controlfile that you have restored to the new server has all the information needed).
3. RESTORE DATABASE PREVIEW in RMAN if you have the archivelogs and subsequent controlfile in the backup itself !
Hemant K Chitale -
For eg. you can't see previous reviewed games earlier than 1 month.
Ok, I solved it now. The problem was the Adblock plus Add-on which blocked all facebook contents.
I just tweaked the filter to allow all akamai.net content, then it worked.
So to sum it up Adblock Plus was the reason why noting worked, I don't know why the videos crashed though, but this issue seems to be fixed, too so I don't have any other complains.
So what did I do to come to this conclusion?
Disabled all Add-Ons
See if the problem still occurs
Activate Add-Ons one by one to see which one causes the problem
Look up why the Add-On is causing the problem and how to fix this
That's it. Thanks for reading my post -
Need to backup and remove photo library from my iphone. This library was previously backup on a hard drive that crashed. So these photos are only in the photo library and not in the camera roll. If I do a full backup, it only takes the camera roll.
So this is a 2 part question:
1) how to I backup the Photo Library to my new hard drive (as the last one was unrecoverable but previously backed up)
2) how do I remove the Photo Library form my phone (preferably after backup in item 1)
Thanks, JanisSince it has always been very basic to backup your computer and all it's data, Apple provides no way for you to transfer music from your iPhone back to your computer. As you know, you can re-download all iTunes purchases, but music that you ripped yourself you'll have to just re-rip again.
You can try and find 3rd party applications that might help you. I'm sure you'll pay, however.
Let this be a very important lesson learned.
Best. -
Need a shell script to backup archive log daily
Hi All,
We need a shell script to backup the archive logs daily after shutting down the concurrent manager and once the backup is completed, needs to start the concurrent manager through the script itself, if you have any ideas or sample scripts, please provide and help us.
The objective is to backup the daily archive logs with out any loss of data.
Thanks,I do not have a similar script to share, sorry. However, you may review the following links/notes:
Note: 137181.1 - RMAN Backup Shell Script Example
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=137181.1
Recovery Manager (RMAN) Manuals
http://www.oracle.com/pls/db102/homepage -
Since I installed my new d6300 netgear my downloads on Apple TV have taken a lot longer than previously using a billion router. Do I need to do something with the net gear set up?
Just connect the new iPod to your computer and setup the iPod via iTunes (instead of via wifi).
If you want to copy all the infor from an old iPod touch to the inew iPod see:
iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device -
Need to Archive more than 5000 CP's in CRM.
Hi All,
I need to archive more than 5000 Contact Persons in CRM system
As many of these contact persons are having relationships in CRM which also have replication to R/3 system and contains the R/3 ID , Also these Contact Persons have the open CRM documents like Opportunities, Actitivies and Leads.
Can anyone guide me how to delete the relationship of the all Contact Persons in one shot or groups like 100 or 200 which are not having any CRM Documents present.
and please let me know the way to delete the role attributes of these contact persons which have been assigned to them in R/3 system as after deleting these roles only the relationship can be deleted.
Best regards,
Jatin Goel
Edited by: Jatin Goel on Jan 11, 2009 1:54 PMI have find out the way myself.
-
I have my catalog "Back Up Each Time Lightroom Exits" checked, and always have. That means the catalog should have been backed-up and saved everyday, if not more than once on some dates. So with a a major problem now and needing to use the Catalog backup from last Friday, I go to my Lightroom Backups folder - and the most recent one showing not only isn't yesterday, it's OCTOBER 28 !?? Where the hell are the daily backups between October 28 and November 14?
Oh wow - JET LAG strikes agin - my apologies; I have located the missing weeks of back-ups. After getting home from a 30-day trip to Europe, I had changed the location of my LR catalog back-ups to an external drive, and forgot that I did that. I have found them, and all is good. Never operate Heavy Machinery without enough rest. Cheers
-
can you restore from a older\previous backup? My last restore point is today at 12:31 and I need to restore a backup done last week. Can i do this?
Hi Xkandrux
Do you mean if I go to edit-preference-device and delete all the recent backup except the older backup I want then it will appear when I select "Restore backup " ? -
I need to revert to a Firefox version earlier than 30 for my business.
To bill BCBS as a mental health provider I am required to use a Firefox version earlier than 30. Please help!!! I am having trouble de-installing the latest version and can't install the older version that I used to use with no problem. Too bad BCBS requires this.
Thanks!You can try to spoof the user agent to see if that works.
*UAControl: https://addons.mozilla.org/en-US/firefox/addon/uacontrol/
*Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:29.0) Gecko/20100101 Firefox/29.0
See also this article about how to install multiple versions on Mac OS X:
* http://www.businessinsider.com/how-to-run-firefox-4-and-3-simultaneously-in-mac-os-x-with-multiple-firefox-profiles-2011-3 -
Lately, my time machine/time capsule has the problem to find the backup disk in the time capsule and cannot perform the backup. I have to reset (at the back of the unit) then the backup can start again, but I can only access the backup data since the last backup, all my previous backup data is no longer available.
Does anyone face the similar situation and how to fix it?Hi there!
Did you try upgrading to the latest WD Firmware?
It fixes the following:
WD Universal Firmware Updater 3.1.0.10:
Fixes:
Now works with 10.7.x (Lion OS-X)
Now works with new My Book Studio (without Electronic Paper Display), new MyPassport for Mac, and new My Passport Studio model.
Made device detection more robust.
Here's the link to the firmware:
http://www.wdc.com/wdproducts/wdsmartwareupdate/firmware.asp?id=wdfGeneric&os=ma c
Regards -
Archive Log vs Full Backup Concept
Hi,
I just need some clarification on how backups and archive logs work. Lets say starting at 1PM I have archive logs 1,2,3,4,5 and then I perform a full backup at 6PM.
Then I resume generating archive logs at 6PM to get logs 6,7,8,9,10. I then stop at 11PM.
If my understanding is correct, the archive logs should allow me to restore oracle to a point in time anywhere between 1PM and 11PM. But if I only have the full backup then I can only restore to a single point, which is 6PM. Is my understanding correct?
Do the archive logs only get applied to the datafiles when the backup occurs or only when a restore occurs? It doesn't seem like the archive logs get applied on the fly.
Thanks in advance.thelok wrote:
Thanks for the great explanation! So I can do a point in time restore from any time since the datafiles have last been written (or from when I have the last set of backed up datafiles plus the archive logs). From what you are saying, I can force the datafiles to be written from the redo logs (by doing a checkpoint with "alter set archive log current" or "backup database plus archivelog"), and then I can delete all the archive logs that have a SCN less than the checkpoint SCN on the datafiles. Is this true? This would be for the purposes of preserving disk space.Hi,
See this example. I hope this explain your doubt.
# My current date is 06-11-2011 17:15
# I not have backup of this database
# My retention policy is to have 1 backup
# I start listing archive logs.
RMAN> list archivelog all;
using target database control file instead of recovery catalog
List of Archived Log Copies
Key Thrd Seq S Low Time Name
29 1 8 A 29-10-2011 12:01:58 +HR/dbhr/archivelog/2011_10_31/thread_1_seq_8.399.766018837
30 1 9 A 31-10-2011 23:00:30 +HR/dbhr/archivelog/2011_11_03/thread_1_seq_9.409.766278025
31 1 10 A 03-11-2011 23:00:23 +HR/dbhr/archivelog/2011_11_04/thread_1_seq_10.391.766366105
32 1 11 A 04-11-2011 23:28:23 +HR/dbhr/archivelog/2011_11_06/thread_1_seq_11.411.766516065
33 1 12 A 05-11-2011 23:28:49 +HR/dbhr/archivelog/2011_11_06/thread_1_seq_12.413.766516349
## See I have archive logs from time "29-10-2011 12:01:58" until "05-11-2011 23:28:49" but I dont have any backup of database.
# So I perfom backup of database including archive logs.
RMAN> backup database plus archivelog delete input;
Starting backup at 06-11-2011 17:15:21
## Note above RMAN forcing archive current log, this archivelog generated will be usable only for previous backup.
## Is not my case... I don't have backup of database.
current log archived
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=159 devtype=DISK
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=8 recid=29 stamp=766018840
input archive log thread=1 sequence=9 recid=30 stamp=766278027
input archive log thread=1 sequence=10 recid=31 stamp=766366111
input archive log thread=1 sequence=11 recid=32 stamp=766516067
input archive log thread=1 sequence=12 recid=33 stamp=766516350
input archive log thread=1 sequence=13 recid=34 stamp=766516521
channel ORA_DISK_1: starting piece 1 at 06-11-2011 17:15:23
channel ORA_DISK_1: finished piece 1 at 06-11-2011 17:15:38
piece handle=+FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171521_0.268.766516525 tag=TAG20111106T171521 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:16
channel ORA_DISK_1: deleting archive log(s)
archive log filename=+HR/dbhr/archivelog/2011_10_31/thread_1_seq_8.399.766018837 recid=29 stamp=766018840
archive log filename=+HR/dbhr/archivelog/2011_11_03/thread_1_seq_9.409.766278025 recid=30 stamp=766278027
archive log filename=+HR/dbhr/archivelog/2011_11_04/thread_1_seq_10.391.766366105 recid=31 stamp=766366111
archive log filename=+HR/dbhr/archivelog/2011_11_06/thread_1_seq_11.411.766516065 recid=32 stamp=766516067
archive log filename=+HR/dbhr/archivelog/2011_11_06/thread_1_seq_12.413.766516349 recid=33 stamp=766516350
archive log filename=+HR/dbhr/archivelog/2011_11_06/thread_1_seq_13.414.766516521 recid=34 stamp=766516521
Finished backup at 06-11-2011 17:15:38
## RMAN finish backup of Archivelog and Start Backup of Database
## My backup start at "06-11-2011 17:15:38"
Starting backup at 06-11-2011 17:15:38
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=+HR/dbhr/datafile/system.386.765556627
input datafile fno=00003 name=+HR/dbhr/datafile/sysaux.396.765556627
input datafile fno=00002 name=+HR/dbhr/datafile/undotbs1.393.765556627
input datafile fno=00004 name=+HR/dbhr/datafile/users.397.765557979
input datafile fno=00005 name=+BFILES/dbhr/datafile/bfiles.257.765542997
channel ORA_DISK_1: starting piece 1 at 06-11-2011 17:15:39
channel ORA_DISK_1: finished piece 1 at 06-11-2011 17:16:03
piece handle=+FRA/dbhr/backupset/2011_11_06/nnndf0_tag20111106t171539_0.269.766516539 tag=TAG20111106T171539 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:24
Finished backup at 06-11-2011 17:16:03
## And finish at "06-11-2011 17:16:03", so I can recovery my database from this time.
## I will need archivelogs (transactions) which was generated during backup of database.
## Note during backup some blocks are copied others not. The SCN is inconsistent state.
## To make it consistent I need apply archivelog which have all transactions recorded.
## Starting another backup of archived log generated during backup.
Starting backup at 06-11-2011 17:16:04
## So automatically RMAN force another "checkpoint" after backup finished,
## forcing archive current log, because this archivelog have all transactions to bring database in a consistent state.
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=14 recid=35 stamp=766516564
channel ORA_DISK_1: starting piece 1 at 06-11-2011 17:16:05
channel ORA_DISK_1: finished piece 1 at 06-11-2011 17:16:06
piece handle=+FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171604_0.272.766516565 tag=TAG20111106T171604 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
channel ORA_DISK_1: deleting archive log(s)
archive log filename=+HR/dbhr/archivelog/2011_11_06/thread_1_seq_14.414.766516565 recid=35 stamp=766516564
Finished backup at 06-11-2011 17:16:06
## Note: I can recover my database from time "06-11-2011 17:16:03" (finished backup full)
## until "06-11-2011 17:16:04" (last archivelog generated) that is my recover window in this scenary.
## Listing Backup I have:
## Archive Logs in backupset before backup full start - *BP Key: 40*
## Backup Full database in backupset - *BP Key: 41*
## Archive Logs in backupset after backup full stop - *BP Key: 42*
RMAN> list backup;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
40 196.73M DISK 00:00:15 06-11-2011 17:15:37
*BP Key: 40* Status: AVAILABLE Compressed: NO Tag: TAG20111106T171521
Piece Name: +FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171521_0.268.766516525
List of Archived Logs in backup set 40
Thrd Seq Low SCN Low Time Next SCN Next Time
1 8 766216 29-10-2011 12:01:58 855033 31-10-2011 23:00:30
1 9 855033 31-10-2011 23:00:30 896458 03-11-2011 23:00:23
1 10 896458 03-11-2011 23:00:23 937172 04-11-2011 23:28:23
1 11 937172 04-11-2011 23:28:23 976938 05-11-2011 23:28:49
1 12 976938 05-11-2011 23:28:49 1023057 06-11-2011 17:12:28
1 13 1023057 06-11-2011 17:12:28 1023411 06-11-2011 17:15:21
BS Key Type LV Size Device Type Elapsed Time Completion Time
41 Full 565.66M DISK 00:00:18 06-11-2011 17:15:57
*BP Key: 41* Status: AVAILABLE Compressed: NO Tag: TAG20111106T171539
Piece Name: +FRA/dbhr/backupset/2011_11_06/nnndf0_tag20111106t171539_0.269.766516539
List of Datafiles in backup set 41
File LV Type Ckp SCN Ckp Time Name
1 Full 1023422 06-11-2011 17:15:39 +HR/dbhr/datafile/system.386.765556627
2 Full 1023422 06-11-2011 17:15:39 +HR/dbhr/datafile/undotbs1.393.765556627
3 Full 1023422 06-11-2011 17:15:39 +HR/dbhr/datafile/sysaux.396.765556627
4 Full 1023422 06-11-2011 17:15:39 +HR/dbhr/datafile/users.397.765557979
5 Full 1023422 06-11-2011 17:15:39 +BFILES/dbhr/datafile/bfiles.257.765542997
BS Key Size Device Type Elapsed Time Completion Time
42 3.00K DISK 00:00:02 06-11-2011 17:16:06
*BP Key: 42* Status: AVAILABLE Compressed: NO Tag: TAG20111106T171604
Piece Name: +FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171604_0.272.766516565
List of Archived Logs in backup set 42
Thrd Seq Low SCN Low Time Next SCN Next Time
1 14 1023411 06-11-2011 17:15:21 1023433 06-11-2011 17:16:04
## Here make sense what I trying explain
## As I don't have backup of database before of my Last backup, all archivelogs generated before of my backup full is useless.
## Deleting what are obsolete in my env, RMAN choose backupset 40 (i.e all archived logs generated before my backup full)
RMAN> delete obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
using channel ORA_DISK_1
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
*Backup Set 40* 06-11-2011 17:15:37
Backup Piece 40 06-11-2011 17:15:37 +FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171521_0.268.766516525
Do you really want to delete the above objects (enter YES or NO)? yes
deleted backup piece
backup piece handle=+FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171521_0.268.766516525 recid=40 stamp=766516523
Deleted 1 objectsIn the above example, I could before starting the backup run "delete archivelog all" because they would not be needed, but to show the example I follow this unnecessary way. (backup archivelog and delete after)
Regards,
Levi Pereira
Edited by: Levi Pereira on Nov 7, 2011 1:02 AM -
How do I restore my iPad to a previous backup made on another computer (Mac)?
How do I restore my iPad to a previous backup made on another computer (a Mac)?
I made copies of the backup in the /mobilesync folder and put them on a hard drive. Now I'm in an endless cycle of restoring/syncing which keeps erasing data off of my iPad on the new computer (which is just a hard drive reformat...it's the same computer, technically, but in theory brand new after a hard drive formatting).
Any help would be greatly appreciated!Normally backups are incremental, and you can only restore the latest. EXCEPT that a backup of an earlier version is archived, and the first backup of the new version is thus complete. You should be able to restore a 6.1.4 backup to iOS 7. Click the Restore Backup button. The dialog that comes up should have a dropdown where you can select a backup to restore. If the old one does not show up it cannot be restored.
However, since you appear to have a Mac, if you use Time Machine you can restore an earlier backup over the current one from your Time Machine history.
You can also back up to iCloud, even if you don't sync to it. See: http://support.apple.com/kb/HT5262
One well hidden feature (for future use) is archiving backups. If you go to iTunes Preferences/Devices, right click on the current backup and choose "Archive". The next backup you make will be a competely new one, and the old one will be preserved and can be restored at any time.
Maybe you are looking for
-
I don't know how to move my messages from Mozilla to Thunderbird.
-
So I have No idea what to do about this because I followed all the instructions when using Migration Assistant. I would just use that user but I have already put files on my user for school. What should I do?
-
Can i use my 2010 20" imac as an external monitor for my Power mac
can i use my 2010 20" imac as an external monitor for my Power mac? Sounded like a 'no' a couple years back, but not sure if there are any new adapters out there.
-
I want to achieve Drill Down task in Oracle Report for this purpose I define the hyperlink in master report when user click on hyperlink the detail report of particular item is displayed. The problem is that when user navigate to that item where hype
-
ASM on win XP (newbie)
Hello, for test purposes, I want to create an ASM in Win XP (64bit). On this system I have 4 disks. 1st is with C, D and E partitions, while other 3 (which I wanted to use for ASM) are not partitioned or formated, but not asigned a drive letter. as I