Restore database from a specific location
Hello
I'm on 11.2.0.3 on Windows 2008.
I have a backup of my database of production on the network drive and I need to use this backup to construct my test database. To build the database of test, I copied the backup to network drive on my local drive on the test server and then restored the controlfile. After that, I catalogued the backup to local drive.
Now, RMAN can recognize the backup on the network location (as controlfile has all the information of all backups) and also local backup. If I try to restore, it goes on the network to get to restore backupset. Is there a way I can ask RMAN to use my local backup rather than go on the network for the elements of the network drive backup?
I know there is a "uncatalog" option available, that should be used for each backup piece and so tedious.
(1) can I force RMAN to use my local backup only without going to the network drive for the archives?
(2) at - it order to complete wipe all backups in a swoop of the repository so that I can catalog only local backups before I run the restore command?
SAQ
Yes, that's what I did.
I should end this question by concluding that there is not available for the following commands
(1) cannot specify backup location in the RESTORE command to mention a specific return, if there are several backups available.
(2) there is no single command to remove all items from backup to a single backup set, from the RMAN Repository
SAQ
Tags: Database
Similar Questions
-
Restore files from a specific directory RMAN?
Is there a way to tell rman to restore the data from a specific directory files? RMAn files has been placed in the directory/app/u01/rman_bkup /. Currently, these files are now in/app/u02/rman_bkup.You can categorize files based on the new location.
-
How to get latitude and longitude from a specific location
Hi, we can get card giving the latitude and longitude. But I need to get the card when I give the specific location, like New York etc.. So how do you get the particular location points. I use the 8820 Simulator in eJDE4.5.
can someone help me solve this problem.
Thank you
There
integer
Latitude in decimal degrees x 100,000x
integer
longitude in decimal degrees x 100,000See GPS and BlackBerry Maps Development Guide.pdf
-
Restore database from a cold backup
Hi all
We use Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 on SunOS 5.11.
We have a database of primary and physical standby.
We used to catch a cold backup of database pending. Now we want to restore the cold backup and as primary (scénarion of building our database main and backup have been planted and we have cold backup standby?.)
We have done following the steps.
1 copy the cold backup on server
2. Mount the backup database
3. perform the pint in time recover by issuing the fllowing command
to recover a database on hold until cancel;
4. apply some archived files and then CANCEL
5 issue command to change the mode as "THE PRIMARY", as a result
ALTER database recover managed standby database finish; and received followig error (alert log file)
" Sun Aug 18 14:39:42 2013
Logmerger died, by closing parallel recovery slaves
Sun Aug 18 14:40:16 2013
Death of recovery slave PR00
Sun Aug 18 14:40:24 2013
Interruption recovery! »
We successfully restore the database and swithover the primary status after completing the steps:
- Cold backup on server
- Mount the database on hold
- Perform the recovery point in time by issuing the fllowing command
- recover database until cancel; pending
- Applied some files and then CANCEL
- Delete the log files waiting for redo
- change the Group of clear database logfile
- change the Group of clear database logfile
- Recovery of eve of finishing
- ALTER database recover managed standby database finish;
- Issue following command to change the mode of "PRIMARY."
- change the database for validation to the passage at the elementary level with the end of the session;
- Open database
- ALTER database open;
- The redo log files
- Alter system switch logfile;
- Restart the database
Earlier, we had missed step # 4.
Kind regards
Hassan
-
I allowed someone to use my computer. I signed as an administrator and didn't know. I get errors galore. My Event Viewer is filled with errors, administrative cautions and even a crucial questions. I have to take my system will cost about a week. The person ran system restore a change has been made every time. So I can no longer choose the date that I need. Could you be it someone please let me know if the task is possible. Or do I have to go through my whole system cleaning! I HOPE!
Thank you!!!
I allowed someone to use my computer. I signed as an administrator and didn't know. I get errors galore. My Event Viewer is filled with errors, administrative cautions and even a crucial questions. I have to take my system will cost about a week. The person ran system restore a change has been made every time. So I can no longer choose the date that I need. Could you be it someone please let me know if the task is possible. Or do I have to go through my whole system cleaning! I HOPE!
Thank you!!!
the only system restore point that you create is for todayYou cannot create a restore point for yesterday etc.they are either made or they are not madego back two or theee weeks to system restore to before he was hit if the dates of restoration are availableread the information in the link to a very good display of how return more than 5 days in the System Restore Points by checking the box below.
http://www.windowsvistauserguide.com/system_restore.htm Walter, the time zone traveller
-
How to change vCenter database from the default location to another drive?
Hello
I installed vc with sql 2005 express, now my vCenter server c:\ is almost full
is it possible to move my vCenter database to a different drive
concerning
Maniac
It's really interesting!
Please try with a graphical interface. Right-click the DB-> tasks-> out-> select 'Drop connections.
Then "Check" "Drop Connections" and click OK.
Share the results...!
See you soon,.
VJ
-
Recovery of control files. I need to restore database?
I am using below command procedure files recovery: restore the backup controlfile. I'm not restore database in this procedure with RESTORE DATABASE
==================================================================================
QUESTION: Do I need to restore a full database to be consistent?
=====================================================
SQL > select name from v$ controlfile;
NAME
--------------------------------------------------------------------------------
/ QA/Data/OBT/QA112QA/Data/control01. CTL
/ QA/Data/OBT/QA112QA/Data/control02. CTL
/ QA/Data/OBT/QA112QA/Data/control03. CTL
[oracle@rh56b64-1 rmanbackup] $ rm /qa/data/obt/QA112QA/data/control01.ctl /qa/data/obt/QA112QA/data/control02.ctl /qa/data/obt/QA112QA/data/control03.ctl
SQL > stop the demolition
ORACLE instance stops.
SQL > startup
ORACLE instance started.
Total System Global Area 275615744 bytes
Bytes of size 2212496 fixed
184552816 variable size bytes
Buffers data 83886080 bytes
Redo buffers 4964352 bytes
ORA-00205: error in the identification of control files, see log alerts for more information
[oracle@rh56b64-1 rmanbackup] $ pwd
/ QA/Data/OBT/rmanbackup
[oracle@rh56b64-1 rmanbackup] $ ls - ltr
Total 591368
-rw - r - 1 oracle oinstall 586711040 24 Dec 19:25 1antmgo6_1_1
-rw - r - 1 oracle oinstall 1435648 24 Dec 19:25 1dntmgov_1_1
-rw - r - 1 oracle oinstall 16809984 24 Dec 19:25 d to cfc-1266678734-20121224-0
-set DBID - get the name of the controlfile autobackup.
-For example, if the name of auto backup is
-CTL_SP_BAK_C-1507972899-20050124-00 the the DBID is
-1266678734. This step is not necessary if the instance is
-Start RMAN
RMAN > set dbid 1266678734
executing command: SET DBID
RMAN > restore controlfile to ' / qa/data/obt/rmanbackup/EFA-1266678734-20121224-0;
From restoration to December 24, 12
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 135 type device = DISK
channel ORA_DISK_1: restore the control file
channel ORA_DISK_1: restore complete, duration: 00:00:03
output file name=/qa/data/obt/QA112QA/data/control01.ctl
output file name=/qa/data/obt/QA112QA/data/control02.ctl
output file name=/qa/data/obt/QA112QA/data/control03.ctl
Finished restore at December 24, 12
RMAN > change the editing of the database;
mounted database
output channel: ORA_DISK_1
RMAN > restore database;
From back to December 24, 12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 135 type device = DISK
starting media recovery
Journal archived for thread 1 sequence 2 is already on the disc in the file /qa/data/obt/QA112QA/data/redo02.log
Journal archived for thread 1 with sequence 3 is already on the disc in the file /qa/data/obt/QA112QA/data/redo03.log
Journal archived for thread 1 with sequence 4 is already on the disc in the file /qa/data/obt/QA112QA/data/redo01.log
Archive log file name=/qa/data/obt/QA112QA/data/redo02.log thread = 1 sequence = 2
Archive log file name=/qa/data/obt/QA112QA/data/redo03.log thread = 1 = 3 sequence
Archive log file name=/qa/data/obt/QA112QA/data/redo01.log thread = 1 sequence = 4
media recovery complete, duration: 00:00:01
Finished recover at December 24, 12
RMAN > alter database open resetlogs;
open databaseHello
==================================================================================
QUESTION: Do I need to restore a full database to be consistent?
=====================================================You don't have to restore the full database. You just need to restore the backup controlfile and restore the database.
The steps you mentioned are good restore the controlfile. After recovery, you must open the database in resetlogs.Also, you can take a look at this http://neeraj-dba.blogspot.com/2011/04/loss-of-control-file-in-various.html
Kind regards
Shivananda -
Creating a database from backups of the production test
Hello Experts,
I'm a newbie with a lot new in Oracle. I got the backup inc0 (which includes even backup controlfile) (PROD) production base taken by RMAN and asked to create a new test database (TEST) by using the backup. Can someone please give me the steps on how to restore and create the new database?
The 10.2.0.4 basic version
I am aware of the concept of duplicated with RMAN database, but I was asked to do not connect to the target (PROD) database while duplicating. So, I need to create the test database using the prod database backup without being connected to the PROD database. Please guide me.Refer
http://arjudba.blogspot.in/2008/05/restore-and-recover-database-to-new.html
RMAN restore database from another backup of the different database nameWhen you perform a restore using backup of the production database, the db_name would be same on the auxiliary database. Once you restore and recover the database in your test server, you can change the prod db_name to test by recreating the controlfile
-
Restore the database to the fallback location
Hi all
9i
RHEL5
I'm doing to restore the database to the startup location.
Copy the components of backup on the remote server (same directory).
RMAN target / auxiliary sys/change_on_install@STANDBY
Release of Recovery Manager: 9.0.1.1.0 - 64 bit Production
(c) Copyright 2001 Oracle Corporation. All rights reserved.
connected to target database: PROD (DBID = 3261937922)
connected to the auxiliary database: PROD (not mounted)
Run this command on the side of PROD or side Server backup server?
He also mentioned @STANDBY, but it has not mentioned in the steps of the process to add the name of WATCH service in TNSNAMES.ora?
Thank you very much
JC
Hello Jenna_c
I suppose that you created a controlfile to standby to primary (SQL > alter database create standby controlfile as ' / tmp/stby.ctl '; in primary, then copy it to sleep)
and you have been used for the standby instance nomount (with the settings standby.ora... file) and restore it from the last backup, if you have a backup tape of stb you can restore backup site, if you have a backup to disk, it must be accessible on the same path to the backup site. (NO RECOVERY)...
Then you have an instance of State nomount standby:
SQL > alter database base_de_donnees eve of Mount;
Here, you can create the redologs Eve... it is not mandatory...
SQL > alter database add standby logfile group 11 ('/ u01/apps/oracle/oradata/STANDBY_redo_11a.dbf',)
u02/apps/Oracle/oradata/STANDBY_redo_11b.dbf') size 100 M;
SQL > alter database add standby logfile Group 12 ('/ u01/apps/oracle/oradata/STANDBY_redo_12a.dbf',)
u02/apps/Oracle/oradata/STANDBY_redo_12b.dbf') size 100 M;
SQL > alter database add standby logfile Group 13 ('/ u01/apps/oracle/oradata/STANDBY_redo_13a.dbf',)
u02/apps/Oracle/oradata/STANDBY_redo_13b.dbf') size 100 M;
SQL > alter system set standby_file_management = auto; (throwing in the primary and standby)
then, we put an instance ensures in recovery mode:
SQL > change database recovery managed standby database disconnect from the session.
in the primary, we check status of dest archive remotely.
Select * from v$ archive_dest_status;
sleep mode check us status of recovery:
SQL > select process, status from v$ managed_standby;
Kind regards.
-
Restore from a different location from the original location of RMAN backup
All,
Sorry to bother you on this simple question, but it's something I've never done before:
Background
=======
My sys admin is currently copying a full backup of the default RMAN backup location to another location on the drive (say/u01/oracle/backup).
The backup was performed using RMAN and in my view, THAT RMAN knows that his initial backup location. See RMAN permanent setting below:
SET UP DEFAULT DISK DEVICE TYPE;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT for DEVICE TYPE DISK TO ' / banksys_arch0/backup/ora_cf%F';
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F ';
SET UP THE DEVICE TYPE DISK BACKUP FOR PARALLELISM BACKUPSET TABLET 1 TYPE;
SET UP THE DEVICE TYPE 'SBT_TAPE' PARALLELISM 1 BACKUP BACKUPSET TYPE;
CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1;
CONFIGURE BACKUP COPIES OF DATA FILE FOR THE 'SBT_TAPE' UNIT 1;
CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1;
CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE 'SBT_TAPE' 1;
CONFIGURE CHANNEL DEVICE TYPE DISK RATE 10 M FORMAT ' / arch/oradata/BANKSYS/backup/%Y-%M-%D-ora_df_s%s_s%p';
Question
======
I need to restore and recover the database from this new backup location. This is as simple as the following:
1 change the default RMAN location to the new location:
DISK CONFIGURATION CHANNEL DEVICE TYPE FORMAT "u01/oracle/backup/ora_df%t_s%s_s%p". (note that I've changed it to the new location)
2 restore and recover (I have a good knowledge/experience in the part).
Thanks in advance.just by changing the default backup location, custom RMAN find backups on its own, you should always run an overlap
However I would not change the default location temporarily
RMAN> CATALOG START WITH '/my/backup/location'
will be of RMAN recognize your backups
-
Access is denied when I try to restore files from the Recycle Bin
Original title: error
My husband accidentally sent his files to the trash, Einstein he is. When I click on restore everything, I get a code error that reads "C:\ProgramData\Microsoft\Windows\WER\ReportQueue\report0955479c\is is not accessible. Access is denied. "Help!
Terristreasures
Hello
· What is the location of the files that have been deleted?
· Have you logged as administrator?
· You try to restore the Recycle Bin of your husband or your account account?
· You can access the location of the file mentioned in the error? (C:\ProgramData\Microsoft\Windows\WER\ReportQueue)
To view the location of the file error try to enable hidden files.
http://Windows.Microsoft.com/en-us/Windows-Vista/Show-hidden-files
Follow these methods and check if that helps:
Method 1:
I suggest you to manually restore the file from the Recycle Bin and check.
(a) on the desktop, double-click Recycle Bin.
(b) to restore a file, right-click and then click on restore.
http://Windows.Microsoft.com/en-us/Windows-Vista/recover-files-from-the-Recycle-Bin
Method 2:
Also I suggest that you start in safe mode and check if you can restore files from the Recycle Bin.
http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-safe-mode
Method 3:
If you are not able to access these files try ownership of the folder and check if you can restore the files.
Troubleshoot "access denied" when opening files or folders
-
Restoring files from C:\Backup
My system has blown. I used the system restore gateway with backup of user files. Running again. However, my images and Document file folder doesn't have any of my data in it.
I searched my C: drive and found the backup. All my data is in the file Documents & images. My question is: How can I copy the Backup\Documents and the Backup\Pictures in my current photo system and Document files.
As you have guessed, I'm not real informed on the use of a PC, especially when something goes wrong. Any help would be appreciated.
Thank you.
Hello
· Have you tried to copy the files and photos from the backup location and paste the folder documents current systems by selecting all the files and right-click on it and clicking on copy and paste it in the folder of document? What happens when you do that?
I suggest you to send all the files and other data that is present in the location c:/backup on the USB drive and then copy the files to the USB in the documents folder and check.
Thanks and regards.
Thahaseena M
Microsoft Answers Support Engineer.
Visit our Microsoft answers feedback Forum and let us know what you think. -
Restoring files from DVD back to Windows 7 Home Premium
How to restore files from DVD discs created as a return to the top on my computer?
To restore the files on your DVD drive, you can simply insert the disc into your DVD drive and copy files directly to the desired location on your computer.
If you have created the DVD disc is a recovery disk (a disk you can use to restore Windows when Windows does not work properly), you can consult the following Web page to understand how to use it:
http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-from-a-Windows-7-installation-disc-or-USB-flash-driveHope this will help you.
-
Error message: failure of the last attempt to resume the system from its previous location
I have problem, I can't do anything computer just stuck on the error message screen that reads "the ultimate attempt to resume the system from its previous location failed", the keyboard does not work I can not choose between the choice that is to say 1. continue with the curriculum vitae of system or 2. delete restore data I can't even boot from an installation CD. Help, please
Hello aliciamulrainqz,
Apart from questions of Gerry C J Cornell, I have included a link below where the user reported an error even. Please let us know status.
Microsoft Answers:
Thank you
-
What are the criteria generates warnings "this file is from an untrusted location?
When users download our installers with IE and choose "Run" instead of save, many see a warning "this file is from an untrusted location.
I have worked with other developers in other forums to try to nail down exactly when and why the warning message appears for some files and not others and we have not been able to collect any solid information. Some report no warning while others do not, even when you use the same version of IE and Windows. It is seen on Vista, Windows 7 and Windows 8 using the versions of IE 8 to 10. But still, it doesn't happen to everyone, even when all the testers use the same version of IE and Windows.
All the files in all the tests are digitally signed by a certification authority (some with Comodo certificates, some with Verisign, some with DigiCert). Does anyone have solid information on what causes this warning to appear some time for some users? What users with specific security settings?
Hi Mitchell,
The question is more suited in the TechNet forums. So I would say you mention the link and send the request in this forum for better support.
http://social.technet.Microsoft.com/forums/en-us/w8itpronetworking/threads
For any information related to Windows, feel free to get back to us. We will be happy to help you.
Maybe you are looking for
-
I regularly use 2 windows with multiple tabs of each and session restore would work to bring them all back, but after this last updated the second window restores correctly, with the first non-visible tab on top (only in the menu drop-down) and now t
-
How long does take to install windows updates on IE8? Now, my computer has been slain on "30 46... update installation" for more than 12 hours. There always seems to be running, but not going anywhere.
-
WinTV-HVR 850 play on WMC-TV, but there is no sound
I bought an external TV tuner for my laptop: WinTV-HVR 850 per Hauppaugel. My HP laptop with Windows Vista 32 bit more than the manufacturers minimum system requirements for installing tuner. After installing the tuner software, I installed the TV se
-
Host multi-domain phone Cisco C2960-mode does not go to the field of voice
Hello world I'm working on the deployment of dot1.x through our company. I'm stuck on configuring Cisco phones to go on one VLAN correct when the multi domain host-mode option is used. I tried on two C2960 switch with two different images. No matter
-
Client VPN und Cisco asa 5505 tunnel work but no traffic
Hi all I am new to this forum and Don t have a lot of experience with Cisco, so I hope I can get help from specialists. I have the following problem: I installed und konfigured ASA 5505 for use with vpn client. I would like to access the local networ