Recovery of database of old backup and archive log file complete
Hi expert Oracle!I encountered the problem where my oracle database restore.
In my case:
-My version of the database: 10.2.0.2
-J' have a full database backup (01 - Nov)
-J' have all the archived since (01 - Nov-> 05 - Nov) log file
-My database down to 05 - Nov with disk error (no data file, not again...).
-I have no backup RMAN (01 - Nov-> 05 - Nov)
How to restore my database to 05 - Nov?
Thank you
After you RESTORE the DATABASE,
Use the VALUE UNTIL to set the Point of recovery to 05 - Nov, and then RECOVER the DATABASE
OR
Use the SQL command "RECOVER database with the HELP of BACKUP CONTROLFILE until CANCEL" that will keep asking 'future' ArchiveLogs backup.
Hemant K Collette
Tags: Database
Similar Questions
-
difference between online redolog files and archived log files
What is the fundamental difference between archived log files and online redo log files? .. .plz keep things simple as m a newbieOnline redo log:
Redo online Oracle log files are filled with records of restoration by progression. A record of remake, also called entrance to roll forward, is composed of a group of agents of change, each of which is a description of a change to a single block in the database. Each instance of an Oracle database has an associated online redo log to protect data in case of failure of the instance.
See here,
http://download.Oracle.com/docs/CD/B10500_01/server.920/a96521/onlineredo.htmArchived redo log:
Oracle Database allows you to save files to one or more destinations offline newspapers filled with repeat groups, known collectively as the archived redo log. An archived redo log file is a copy of one of the members of a group of redo log filled.
See here,
http://download.Oracle.com/docs/CD/B19306_01/server.102/b14231/archredo.htmThank you
-
database backup and archiving log
Hi all
I have two scripts:
Full_db_backup.sh
ARCHIVELOG.sh
Full_db_backup.sh I have the below
in Archivelog.shbackup incremental level 0 device type disk tag testTAG database plus archivelog;
My question;BACKUP ARCHIVELOG ALL tag testTAGArch not backed up 2 times;
can I have the below for the backup of the database?
and if so the 'saved 2 times; not' it's only for the archivelog? or not 2 times for archivelog backups of database backed up?backup incremental level 0 device type disk tag testTAG database plus archivelog not backed up 2 times;
Kind regardsNB wrote:
Thank youI will still have the below question about backup of control file that you mentioned in the below:
Other point: As you are making copy of your backupset using a padronized tag, I suggest you include current controlfile on your backup, because Autobackup have a default tag and we cannot change it. So I suggest you do this: backup incremental level 0 database INCLUDE CURRENT CONTROLFILE tag 'my_backup' plus archivelog;
I can't do: Configure auto backup device type disc format control in two different places?
one on my site of the archive and the other at FRA?
Currently, I have below:Configure the control auto backup disc format of type device to "%f".
You can create a custom script to run at the end of your backup:
This query above will create a command to get 2nd copy of your automatic backup;The below script check the backup strengthened to FRA on autobackup dir on the last 5 minutes... you can change it as you wish.
SELECT 'backup backupset from tag '||TAG||' format ''/u01/app/oracle/'||TAG||'%U'';' FROM V$BACKUP_PIECE WHERE START_TIME > sysdate - 5 /(24*60) and HANDLE like '+FRA%autobackup%'
Suggestion:
Disable the automatic backup before making a 2nd automatic backup copy;
Run the command to make automatic backup
Enable autobackup after 2 do an automatic backup copy; -
I have a doubt about the backups and archives.
My database is in archivelog mode. Then I do a full backup of the database.
RMAN > backup tag = "bk_level0_200809" effective additional 0 database;
What happens with the generated archives the earliest before the backup of the database, I can remove them? or I just need to have the archives generated after the backup?After the first full backup, you must only archives.
Kind regards
Thiago Hyppolito
-
Deletion of backups of level 1 and archive logs
Hello
Everyone knows that "the retention policy would be applicable on level 0 backups or only full backups.
So how will be reported what backups and level 1 backup of archive logs are no longer needed for recovery?
And after that as the command "remove obsolete", y at - it a command to remove these unwanted 1 level and archiving logs backups?
Any suggestion?
Thank you
Nitesh.So how will be reported what backups and level 1 backup of archive logs are no longer needed for recovery?
If you have the revoery retention strategy window 1 day and you take backup of level 0 Sat and then consecutive level until Friday 1 daily backup, again on backup sat level 0 will be obsolete previous level 0 backup sat and its seven consecutive level 1 so is found in the archived log alls before this level 0 current backup will be marked.
Obsolete report will show you alls backup piece and the archivelogs that are marked as obsolete.
And after that as the command "remove obsolete", y at - it a command to remove these unwanted 1 level and archiving logs backups?
What do you mean by backups, undesirable level 1, on what basis you say that backup of level 1 are undesirable?
Khurram
-
Was a backup, and the only file created was mediaID.bin.
Title of the Moose: I ran a backup and the only file created was mediaID.bin. That all my personal files, but also the backup system files contain?
I am running Win 7. I chose to let Windows choose the files, but I thought he said that personal folders could be saved. Not sure if. If this .bin file contains everything, I can choose just to restore personal files from it? I am naïve.
I saved on a flash drive. When the backup finished the only file in the Explorer was mediaid.bin, but when I reinserted the drive he showed several zip files and those that do not contain my personal backups, so all is well! Sorry for the problems with my idiocy!
-
I use an Oracle 11.2.0.3 on RHEL 5.7 (no ASM or RAC) database
We have our archiving logs off copied to a backup location external via a cron job and rsync command, and I want to switch to NFS.
When I run 'alter system archive log current', I see the error message archiver in the alert below log...NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ log_archive_format string RCAT_%t_%s_%r.arc log_archive_dest_1 string location=USE_DB_RECOVERY_FILE_DEST SQL> !df -h Filesystem Size Used Avail Use% Mounted on ... ... backups:/ARCHLOG/rman 12T 7.8T 3.5T 70% /mnt/nfs_archlog SQL> alter system set log_archive_dest_2='LOCATION=/mnt/nfs_archlog optional' scope=both; System altered.
However, when I check the NFS location I see that the file is there.Wed Aug 29 14:42:08 2012 ALTER SYSTEM ARCHIVE LOG Wed Aug 29 14:42:08 2012 Thread 1 advanced to log sequence 23044 (LGWR switch) Current log# 4 seq# 23044 mem# 0: /u01/oradata/RCAT/redo_4a.dbf Current log# 4 seq# 23044 mem# 1: /u02/oradata/RCAT/redo_4b.dbf Wed Aug 29 14:42:14 2012 ARC1: Error 19504 Creating archive log file to '/mnt/nfs_archlog/RCAT_1_23043_602355789.arc' Archived Log entry 24282 added for thread 1 sequence 23043 ID 0x165341cd dest 1:
On the NFS host, I see[oracle@rman nfs_archlog]$ ls -la total 72 drwxr-x--- 14 oracle oinstall 4096 Aug 29 14:42 . drwxr-xr-x 3 root root 4096 Aug 29 14:16 .. -rw-r----- 1 oracle oinstall 204288 Aug 29 14:42 RCAT_1_23043_602355789.arc
The/etc/exports on NFS host has the permissions set to read/write, no_root_squash.[root@backups archivelog]# ls -la total 68 drwxr-x---. 14 500 500 4096 Aug 29 14:42 . drwxrwxr--. 3 500 500 4096 May 8 13:54 .. -rw-r-----. 1 500 500 204288 Aug 29 14:42 RCAT_1_23043_602355789.arc
Is there something obvious that I'm missing?the folder is created by newspaper archive must have atleat authorisation from 770.
-
Redo archive log file extension
Version: 11 g
OPERATING SYSTEM: AIX 5.3
After you have enabled archiving, I noticed that archives logs files have the extension * .dbf. Is this normal?close the database and putting into service again.
Then, check the setting.
Concerning
Asif Kabir -
How to archive log file created by day in a database? How will I know?
Please make this solution.
Thanks in advance...Piku says:
Sorry to say... can't find anything useful... is available all useful QUERY SQL abt that?select * from v$archived_log where COMPLETION_TIME > sysdate -1;
I will give you the number of logs archived in the last 24 hours.
HTH
Johan -
Hello, I have just purchace pdf to word and excel converter and pay $ 24, but finally it's completely uselless for me because there no Greek language and convert the file completely incomprehensible... that I can speak for that?
Hi mariax7664987,
Https://cloud.acrobat.com/ service export to Adobe PDF format is used to change the shape of PDF file format to other formats supported fire. His will not change the language of the PDF text.
Kind regards
Nicos -
Why archive log file size constantly change?
I have a question related to the size of the archive log file:
I constantly receive a different size to the size of the log file archive, of course, they are smaller than to the size of the log file.
A guru can explain to me: what possible reason could be?
Thanks in advance!It can happen due to several reasons:
When you perform a manual archive (via ALTER SYSTEM ARCHIVE LOG CURRENT/ALL)
When Oracle must respect your ARCHIVE_LAG_TARGET (defined in seconds)Unless you do a manual check-in, your parameter ARCHIVE_LAG_TARGET is the reason why you see Archives of logs with different sizes as Oracle has archived the redo log as soon as the time ARCHIVE_LAG_TARGET is reached. Even if the redo log is not full, Oracle will always have to archive the redo log.
-
backup and archiving of difference b/w
I am a new user of fast food.
Is there a difference in the protection and exploitation of archives.Hi akhilms:
The short answer is that archiving is intended for storage of the previously saved data.
Simplified data protection process is:
Base server (with volumes arranged into protection groups)-> RapidRecovery-> backup (organized in recovery points)-> various operations of backup validation (mountability, mimicry, checksum verification, recovery points check etc.) -> Consolidation according to the retention policy planning (i.e. keep all 3 days recovery points, an hour for 2 days, then 1 a day for a week to 1 per month for 3 months then 1 per year for 5 years etc.).
In addition, you can configure replication by using a different kernel of fast food. The cumulative process would be 'copy' the recovery points from the base of the source to the marrow of replication target. These recovery point would be consolidated as well (most of the time on a different schedule from the retention policy).
If you feel it necessary to keep one or more strings of recovery (recovery points channels begins with a base image) altered by the cumulative process (consolidation) you can archive them. Archiving does NOT require another nucleus of RapidRecovery. Do that enough space with enough available memory (local, network, clouds) to complete the internal procedures Ops ARE / s a reasonable period of time.
-
Disable backups iCloud will delete old backups and free storage?
I need to keep my current backup in iCloud for awhile (maybe a month, maybe more, until I have find a way to download it somehow) and I'm afraid that my phone re-writing it one night if I forget and leave it with wifi at a charge.
Can someone check and to confirm disabling backups iCloud keeps intact old backups so I have access to them in the future.
Deactivation of the iCloud backups will prevent only future backups to take place. To delete older backups, you must remove them manually.
See you soon,.
GB
-
I got today a Dell inspiron 3521 a customer, without warranty, after some checking, I discovered that the hard disk has errors and needs to be replaced
No problem, the only problem is... I have no installation of Dell Windows 8 media. The laptop is updated to Windows 10 last year. In programs and features, I see that Dell backup and restore 1.6.2.4 v is installed. When I search the Dell backup or watch all the apps installed I can't find the program. So I can't run the program to create installation floppies
When I go to:
program/PC (x 86) / Dell backup and recovery, I see a lot of files and 4 records, but no configuration file.
So my question is, how do you create a Dell Windows 8 installation media? Can I use after installing the new hard drive, reinstall Windows?
For good order, I can't, until now still approach the hard drive.
Who knows the solution to install the software dell of origin on the new drive?
The application must be updated for Windows 10 - you can get it as a download from Dell.
However, if 10 is already installed and enabled, you can also manually install WIndows 10 without the need of a product key - that way, however, do retain none of the applications Dell preinstalled on the system (which is not very important, as some of them such as PowerDVD would require a paid upgrade to work with Windows 10 in any case).
DBaR 1.9 is here:
-
I have a cron job that backs up complete zero on Sunday. I have an another cron job beginning level 1 backups, Monday to Saturday. I have a 3rd cron that runs every 2 hours for each day of the week in order to safeguard the archive logs.
I have concerns with the 3rd cron job. Lets say the data in the database has not changed in the last 2 hours. This cron job would always run this script, create another backup rman (taking more space on the server). Is my understanding correct that rman is not smart enough to know what data has changed during backup of the Archives of newspapers so that the two components of backup are not store duplicate information? The reason why I think it's because the size of the pieces cackup for this archive log backups stop a lot of the time very similar (but not the same) in size.Lets say the data in the database has not changed in the last 2 hours
That you have taken backup the archivelog at 07:00 and the next execution of the annex is at 09:00. Say that there are about 100 archives that have been backed up at 07:00. And from 07:00 until 09:00, there was that no transactions took place, in other words, that the data in the database has not changed in the last 2 hours.
In this case, RMAN wouldn't be backup archives that have been backed up at 07:00. If there is no generated archives between 07:00 and 09:00, RMAN wouldn't save anything.
If the archived log was not saved, it will be.
If the archive log was not saved and is missing, you will get an error.
If the archived log was backed up, RMAN will not back up again.
Maybe you are looking for
-
Sat Pro L10... Do I have wireless or not?
Hi, I have a satellite L10 pro with Mr. centrino processor all software configfree that came with my laptop. I have the button switch on the front that get out me of my screensaver when you press on, but it won't activate m wireless? I know that only
-
Satellite C660 - display driver stopped responding
I have a 3 years old Toshiba Satellite C660 and whenever I play on the Sims 3 the game freezes and the screen flashes white and displays an error message that reads 'Display driver no longer' and sometimes he eventually even be a blue screen saying t
-
Hi every time I try to connect my i phone 6s with iMac (retina 5K, 27 inches, end of 2014) performances connection failure ' jatin iMac is not supported. Pls help its strange
-
AutoHide keyboard from Inbox in Marshmallow on Moto X 2
Inbox by Google, clicking on reply to the email, keyboard show and immediately hide again. Anyone else encounter this? or a solution?
-
Which is better: using the NI 9203 or USB Volt to differential entrance map
Dear all, I have 4 pressure transmitters, temperature transmitters 4 with output 0-10 v or 4-20 my. I have also 2 with output 4-20 flow meters my. I have two options: Is to get all the signals in my and link them to the C two modules NI 9203 or I can