Test Restore Of Backup On Seperate Host
I want to test my backup by restoring the full backup of my production database on a seperate test host.All my RMAN backup's are at primary side on a disk.My doubt here is when i issue
restore backup command at test host how rman recoginzes the backup sets which is actually at production side and restore it at test host.In other words how can we make the backup set avaliable at production side to be accessible at test host while restoring.
Thankx...
You would need to make the backups available to the test system, either by copying them (to exact the same location!) or setting up NFS (making sure the directory on the test system has the same name as on the source system)
Sybrand Bakker
Senior Oracle DBA
Similar Messages
-
Restoring Rman backup on New Host with different directory structure
Hi,
I have a following scenario to clone the database.
1. clone the database on new server
2. source is non - ASM and target is ASM
3. On source incremental level 0 backup taken on disk connecting to catalog, the backup is moved to target host to different directory structure
4. source is running on 32-bit Linux two node Rac and Target is running on 64-bit Linux two node Rac
I did the following steps and getting below error:
1. I copied incremental Level 0 backup to target server(where we need to build new db) to different directory structure
2. On target i created pfile and build the instance, as dbf file are in multiple locations in source i put following tow parameters in init.ora of target database
*.db_file_name_convert =(/u02/oradata/app1p/,+QADATA2/udev/datafile),(/u03/oradata/app1p/,+QADATA1/udev/datafile),(/u12/oradata/app1p/,+QADATA1/udev/datafile,),(/u99/oradata/app1p/,+QADATA1/udev/datafile),(/u09/oradata/app1p/,+QADATA1/udev/datafile),(/u14/oradata/app1p/,+QADATA1/udev/datafile),(/u07/oradata/app1p/,+QADATA1/udev/datafile),(/u06/oradata/prod/,+QADATA1/udev/datafile'),(/u05/oradata/app1p/,+QADATA1/udev/datafile)
*.log_file_name_convert =("/u99/oradata/app1p/","+QADATA2/udev/onlinelog/")
3. connected to rman -->> started db in nomount -->> restored the controlfile --> cataloged the backup piece and then i am trying to restore
All the above steps i did using the Doc id *How To Restore Rman Backups On A Different Node When The Directory Structures Are Different [ID 419137.1]*
script i am using is :
RMAN> run {
2> set until time "to_date('DEC/20/2010 05:30:00','Mon/DD/YYYY HH24:MI:SS')";
3> allocate channel c1 device type disk;
4> allocate channel c2 device type disk;
5> allocate channel c3 device type disk;
6> allocate channel c4 device type disk;
7> set newname for datafile 1 to '+QADATA1/UDEV/DATAFILE';
8> set newname for datafile 2 to '+QADATA1/UDEV/DATAFILE';
9> set newname for datafile 3 to '+QADATA1/UDEV/DATAFILE';
10> set newname for datafile 4 to '+QADATA1/UDEV/DATAFILE';
11> set newname for datafile 5 to '+QADATA1/UDEV/DATAFILE';
12> set newname for datafile 6 to '+QADATA1/UDEV/DATAFILE';
13> set newname for datafile 54 to '+QADATA1/UDEV/DATAFILE';
set newname for datafile 63 to '+QADATA1/UDEV/DATAFILE';
14> 15> set newname for datafile 67 to '+QADATA1/UDEV/DATAFILE';
16> set newname for datafile 68 to '+QADATA1/UDEV/DATAFILE';
17> set newname for datafile 50 to '+QADATA1/UDEV/DATAFILE';
18> set newname for datafile 39 to '+QADATA1/UDEV/DATAFILE';
19> set newname for datafile 38 to '+QADATA1/UDEV/DATAFILE';
20> set newname for datafile 7 to '+QADATA1/UDEV/DATAFILE';
21> set newname for datafile 9 to '+QADATA1/UDEV/DATAFILE';
22> set newname for datafile 8 to '+QADATA1/UDEV/DATAFILE';
23> set newname for datafile 11 to '+QADATA1/UDEV/DATAFILE';
24> set newname for datafile 10 to '+QADATA1/UDEV/DATAFILE';
25> set newname for datafile 66 to '+QADATA1/UDEV/DATAFILE';
26> set newname for datafile 48 to '+QADATA1/UDEV/DATAFILE';
27> set newname for datafile 47 to '+QADATA1/UDEV/DATAFILE';
28> set newname for datafile 12 to '+QADATA1/UDEV/DATAFILE';
29> set newname for datafile 13 to '+QADATA1/UDEV/DATAFILE';
30> set newname for datafile 14 to '+QADATA1/UDEV/DATAFILE';
31> set newname for datafile 15 to '+QADATA1/UDEV/DATAFILE';
32> set newname for datafile 16 to '+QADATA1/UDEV/DATAFILE';
33> set newname for datafile 18 to '+QADATA1/UDEV/DATAFILE';
34> set newname for datafile 17 to '+QADATA1/UDEV/DATAFILE';
35> set newname for datafile 19 to '+QADATA1/UDEV/DATAFILE';
36> set newname for datafile 69 to '+QADATA1/UDEV/DATAFILE';
37> set newname for datafile 60 to '+QADATA1/UDEV/DATAFILE';
38> set newname for datafile 59 to '+QADATA1/UDEV/DATAFILE';
39> set newname for datafile 55 to '+QADATA1/UDEV/DATAFILE';
40> set newname for datafile 53 to '+QADATA1/UDEV/DATAFILE';
41> set newname for datafile 44 to '+QADATA1/UDEV/DATAFILE';
set newname for datafile 22 to '+QADATA2/UDEV/DATAFILE';
42> 43> set newname for datafile 21 to '+QADATA2/UDEV/DATAFILE';
set newname for datafile 20 to '+QADATA2/UDEV/DATAFILE';
44> 45> set newname for datafile 72 to '+QADATA2/UDEV/DATAFILE';
46> set newname for datafile 70 to '+QADATA2/UDEV/DATAFILE';
47> set newname for datafile 65 to '+QADATA2/UDEV/DATAFILE';
48> set newname for datafile 64 to '+QADATA2/UDEV/DATAFILE';
49> set newname for datafile 57 to '+QADATA2/UDEV/DATAFILE';
50> set newname for datafile 56 to '+QADATA2/UDEV/DATAFILE';
51> set newname for datafile 49 to '+QADATA2/UDEV/DATAFILE';
52> set newname for datafile 45 to '+QADATA2/UDEV/DATAFILE';
53> set newname for datafile 26 to '+QADATA2/UDEV/DATAFILE';
54> set newname for datafile 25 to '+QADATA2/UDEV/DATAFILE';
55> set newname for datafile 24 to '+QADATA2/UDEV/DATAFILE';
56> set newname for datafile 23 to '+QADATA2/UDEV/DATAFILE';
57> set newname for datafile 27 to '+QADATA2/UDEV/DATAFILE';
58> set newname for datafile 28 to '+QADATA2/UDEV/DATAFILE';
59> set newname for datafile 29 to '+QADATA2/UDEV/DATAFILE';
60> set newname for datafile 30 to '+QADATA2/UDEV/DATAFILE';
61> set newname for datafile 73 to '+QADATA2/UDEV/DATAFILE';
62> set newname for datafile 32 to '+QADATA2/UDEV/DATAFILE';
63> set newname for datafile 31 to '+QADATA2/UDEV/DATAFILE';
64> set newname for datafile 34 to '+QADATA2/UDEV/DATAFILE';
65> set newname for datafile 33 to '+QADATA2/UDEV/DATAFILE';
66> set newname for datafile 35 to '+QADATA2/UDEV/DATAFILE';
67> set newname for datafile 36 to '+QADATA2/UDEV/DATAFILE';
68> set newname for datafile 37 to '+QADATA2/UDEV/DATAFILE';
69> set newname for datafile 51 to '+QADATA2/UDEV/DATAFILE';
70> set newname for datafile 43 to '+QADATA2/UDEV/DATAFILE';
71> set newname for datafile 40 to '+QADATA2/UDEV/DATAFILE';
72> set newname for datafile 41 to '+QADATA2/UDEV/DATAFILE';
set newname for datafile 71 to '+QADATA2/UDEV/DATAFILE';
set newname for datafile 58 to '+QADATA2/UDEV/DATAFILE';
set newname for datafile 52 to '+QADATA2/UDEV/DATAFILE';
set newname for datafile 46 to '+QADATA2/UDEV/DATAFILE';
set newname for datafile 42 to '+QADATA2/UDEV/DATAFILE';
73> 74> 75> 76> 77> 78> set newname for datafile 62 to '+QADATA2/UDEV/DATAFILE';
79> set newname for datafile 61 to '+QADATA2/UDEV/DATAFILE';
80> set newname for datafile 74 to '+QADATA2/UDEV/DATAFILE';
81> restore database;
82> switch datafile all;
83> recover database;
84> alter database open resetlogs;
85>
86> release channel c1;
87> release channel c2;
88> release channel c3;
89> release channel c4;
90> }
Getting the following error, copied lines from the error i am getting.
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 27-DEC-10
released channel: c1
released channel: c2
released channel: c3
released channel: c4
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 12/27/2010 08:09:08
RMAN-06026: some targets not found - aborting restore
RMAN-06100: no channel to restore a backup or copy of datafile 74
RMAN-06100: no channel to restore a backup or copy of datafile 73
Please advice...
Thanks,
Tanveer MohammedIf you would like, please refer the link:-
http://gavinsoorma.com/2010/04/creating-an-asm-duplicate-database-from-a-non-asm-database/ -
To restore backup on different host using RMAN
Hi All,
Friend I need your help once again. I want to restore my database from the past backup to new HOST by keeping the original database intact using RMAN. Let me explain the scenario:-
Databas Version - 8.1.7
OS - Solaris 5.8
We are using RMAN with Tivoli as third party media management. I just need to restore the database from this tape library using RMAN with recovery catalog on new server. The only doubt I have is how I will make the backups of the production database whose backup has to be restored available on the new host where I have to create new database.
I will be using different file structure for the newly restored database. Do I have to create TDPO files seperately on the server on which I have to restore the database.
Please reply asap.
Regards
Harpreet SinghYou need to create a tdpo.opt file of source on the destination database. Then, allocate channel using this TDPO_OPTFILE and recover database.
-
Test Restore Database Instance from Cold backup
Hi - I have a customer who is using an Oracle database instance not in archivelog mode
currently, I have managed to persuade them to backup at least weekly using an RMAN cold backup.
Prior to my being allowed to do anything else they want to perform a test restore from the cold backup
I want to find a simple procedure to do this which will enable me to tick the box then hopefully I may be able to persuade them that Hot Backups are the way to go.
Has anyone got any good suggestions for this please?Ah if only things were quite so simple - my hands are tied somewhat there isn't a second machine available at the moment so I was hoping to be able to run a test restore to the same machine !
No they do not worry about data in this situation - Oracle is used almost as a query engine maybe a very odd solution as the actual data is not really held within this oracle database but the resultant queries are!
Anyway I think I will just do a virtual restore using the restore database validate command then armtwist a couple of managers!
One of the areas they had difficulty with is that apparently they had archivelogging on but the rate of writing archivelogs was huge and it was affecting performance. I am not knowledgeable enough to know how to tune that problem!! -
Using RMAN "copy datafile" to restore db on a different host
Hi,
DB 8.1.7 (Standard Edition) on Windows Server 2000 SP4.
Database is in Archivelog mode. RMAN uses a catalog database.
The client does not want to spend money to upgrade the application (which only supports 8i - old app), therefore we have to relocate the database onto a new hardware (the machine is also old):
Here is how I backup the database every night (I also make an OS copy of archivelogs on an hourly basis):
echo run {
echo allocate channel d1 type disk;
echo backup
echo tag db_full
echo format '\\backupserver\backups\prodserver\rman\df_u%%u_s%%s_p%%p_t%%t'
echo database;
echo copy current controlfile to '\\backupserver\backups\prodserver\rman\DB_CONTROL01.ctl';
echo sql 'alter system archive log current';
echo backup
echo format '\\backupserver\backups\prodserver\rman\al_u%%u_s%%s_p%%p_t%%t'
echo archivelog all
echo delete input;
echo release channel d1;
echo resync catalog;
echo }
) | d:\orahome\bin\rman.exe target sys/***@db_ded rcvcat rman/rman@rpdb > D:\oracle_backup_db\rman_db_backup.logNow on a new 2003 server with database installed and rman catalog created, I am trying to restore my backups from the productions.
After reading some online documents forums, I noticed that if I do not have image copies of datafiles, controlfile, and archivelogs I CANNOT catalog them on this new database.
So, I want to create image copies when the database is in normal open state. What will I need to do get the new server to the same state as the production server? I know I will have to do media recovery, therefore copy and catalog the archivelogs created after the image copy was created.
What are the steps to do this?
If I create an image copy of a datafile on the production database and move that file to another location (to the new server with OS commands), will that affect a possible restore I might have to perform on the production database? I have space concerns on the production db so I do not want to keep them there and want to delete them after I test restoring them to the new server.
Is this the best method to move this database to a host with the same name same folder structure?
Thanks in advance,
SinanHello;
I'm not a windows guy but you could move the database cold using scp.
Putty has PSCP here :
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
You can create the scp batch file using SQL
set heading off
set feedback off
set pagesize 100
set linesize 400
select 'scp '||a.name ||' server_name:' || a.name as newname from v$datafile a;
select 'scp '||a.name ||' server_name:' || a.name as newname from v$controlfile a;
select 'scp '||a.member ||' server_name:' || a.member as newname from v$logfile a;So shutdown the database and move the files. Restart do your RMAN backup and your done.
The only issue I can is 2003 server probably does not have an SCP service like Unix.
Here's a couple links to address that :
http://mobassh.mobatek.net/
http://www.netadmintools.com/art516.html
Best Regards
mseberg -
[HELP] Problem with restore and recovery to new host
Hi, guys!
I have been trying for two days, but still cannot get it to work.
I have taken a full hot(online) backup with archive logs as well as the control file and SPFILE, and then copied the backup to the new host with the same directory structure and settings. Finally, I have tried to restore & recover the database on the new host but failed during the restore process.
Both the original host and the new host have the same Oracle installed down to the patch level. I couldn't figure out the proper solution to this problem base on my limited knowledge about Oracle DB.
Could anyone help me out here? Any advice would be appreciated!
RMAN> restore database until sequence 10 thread 1;
Starting restore at 08-NOV-11
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to D:\DBDATA\PRODDB\SYSTEM01.DBF
restoring datafile 00002 to D:\DBDATA\PRODDB\UNDOTBS01.DBF
restoring datafile 00003 to D:\DBDATA\PRODDB\SYSAUX01.DBF
restoring datafile 00004 to D:\DBDATA\PRODDB\USERS01.DBF
restoring datafile 00005 to D:\ORA_DATADATA01.DBF
restoring datafile 00006 to D:\ORA_DATA\DATA02.DBF
restoring datafile 00007 to D:\ORA_DATA\INDX01.DBF
restoring datafile 00008 to D:\ORA_DATA\INDX02.DBF
channel ORA_DISK_1: reading from backup piece C:\ORACLE\PRODUCT\10.2.0\FLASH_REC
OVERY_AREA\PRODDB\BACKUPSET\2011_11_07\O1_MF_NNNDF_TAG20111107T175037_7CH6YYVJ_.BK
P
failover to previous backup
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/08/2011 11:41:33
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
Here is some extra information that you might want to know about:
RMAN> list incarnation;
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
1 1 PRODDB 3774691295 PARENT 1 17-APR-07
2 2 PRODDB 3774691295 PARENT 521803 06-OCT-11
3 3 PRODDB 3774691295 PARENT 1595143 20-OCT-11
4 4 PRODDB 3774691295 PARENT 1600974 20-OCT-11
5 5 PRODDB 3774691295 PARENT 1952053 27-OCT-11
6 6 PRODDB 3774691295 CURRENT 2146951 07-NOV-11
RMAN> list backup recoverable;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
37 Full 822.34M DISK 00:29:47 07-NOV-11
BP Key: 37 Status: AVAILABLE Compressed: NO Tag: TAG20111107T175037
Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\BACKUPSET\
2011_11_07\O1_MF_NNNDF_TAG20111107T175037_7CH6YYVJ_.BKP
List of Datafiles in backup set 37
File LV Type Ckp SCN Ckp Time Name
1 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\SYSTEM01.DBF
2 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\UNDOTBS01.DBF
3 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\SYSAUX01.DBF
4 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\USERS01.DBF
5 Full 2149673 07-NOV-11 D:\ORA_DATA\DATA01.DBF
6 Full 2149673 07-NOV-11 D:\ORA_DATA\DATA02.DBF
7 Full 2149673 07-NOV-11 D:\ORA_DATA\INDX01.DBF
8 Full 2149673 07-NOV-11 D:\ORA_DATA\INDX02.DBF
BS Key Type LV Size Device Type Elapsed Time Completion Time
38 Full 6.95M DISK 00:00:03 07-NOV-11
BP Key: 38 Status: AVAILABLE Compressed: NO Tag: TAG20111107T182034
Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
\2011_11_07\O1_MF_S_766606834_7CH8Q439_.BKP
Control File Included: Ckp SCN: 2151141 Ckp time: 07-NOV-11
SPFILE Included: Modification time: 07-NOV-11
BS Key Size Device Type Elapsed Time Completion Time
39 18.46M DISK 00:00:05 08-NOV-11
BP Key: 39 Status: AVAILABLE Compressed: NO Tag: TAG20111108T093359
Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\BACKUPSET\
2011_11_08\O1_MF_ANNNN_TAG20111108T093359_7CJY7TG1_.BKP
List of Archived Logs in backup set 39
Thrd Seq Low SCN Low Time Next SCN Next Time
1 1 2146951 07-NOV-11 2149493 07-NOV-11
1 2 2149493 07-NOV-11 2149519 07-NOV-11
1 3 2149519 07-NOV-11 2149565 07-NOV-11
1 4 2149565 07-NOV-11 2149641 07-NOV-11
1 5 2149641 07-NOV-11 2172859 07-NOV-11
1 6 2172859 07-NOV-11 2197851 07-NOV-11
1 7 2197851 07-NOV-11 2220349 08-NOV-11
1 8 2220349 08-NOV-11 2222621 08-NOV-11
1 9 2222621 08-NOV-11 2222729 08-NOV-11
1 10 2222729 08-NOV-11 2223088 08-NOV-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
40 Full 6.95M DISK 00:00:00 08-NOV-11
BP Key: 40 Status: AVAILABLE Compressed: NO Tag: TAG20111108T093411
Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
\2011_11_08\O1_MF_S_766661651_7CJY84LK_.BKP
Control File Included: Ckp SCN: 2223097 Ckp time: 08-NOV-11
SPFILE Included: Modification time: 08-NOV-11
Thanks in advance!
JayThank you for your reply,Hemant K Chitale!
>
a) Does the directory structur exist on the new server :
D:\DBDATA\PRODDB\ --- for files 1 to 4
D:\ --- for file 5
D:\ORA_DATA\ --- for files 6 to 8
>
Yep, I have doubled check the directory structure that get in the way, and they are all exist.
Would it be something to do with the folder permissions?
>
b) Apparently a RESETLOGS has been issued on 07-Nov. Which controflile backup do you have restored and mounted on the new server ? It should be the one after the RESETLOGS.
>
I restored the one included with the backup. Should I take another backup of controlfile seperately and restore from it instead?
>
(I assume that you did a RESTORE CONTROLFILE followed by sql "alter database mount" before the attempt to RESTORE DATABASE)
>
Yep, that's exactly what I did.
//executed @ RMAN prompt of the new host
startup nomount; 'the new host has the right SPFILE to start with so i didn''t bother to RESTORE SPFILE first.
restore controlfile from autobackup;
alter database mount;
restore database sequence 10 thread 1;
//get stucked here with RMAN-06026, 06023
//...the following is not executed yet.... :-(
recover database until sequence 10;
alter database open resetlogs;Edited by: HappyJay on 2011/11/08 13:25
I have made several attemps with your advice, but still get the same type of errors.
Here is the output:
RMAN> list backup of controlfile;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
38 Full 6.95M DISK 00:00:03 07-NOV-11
BP Key: 38 Status: AVAILABLE Compressed: NO Tag: TAG20111107T182034
Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
\2011_11_07\O1_MF_S_766606834_7CH8Q439_.BKP
Control File Included: Ckp SCN: 2151141 Ckp time: 07-NOV-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
40 Full 6.95M DISK 00:00:00 08-NOV-11
BP Key: 40 Status: AVAILABLE Compressed: NO Tag: TAG20111108T093411
Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
+\2011_11_08\O1_MF_S_766661651_7CJY84LK_.BKP+
Control File Included: Ckp SCN: 2223097 Ckp time: 08-NOV-11
as you suggested, this backup piece of controlfile should be right one to be restored.
RMAN> shutdown;
database dismounted
Oracle instance shut down
RMAN> startup nomount;
connected to target database (not started)
Oracle instance started
Total System Global Area 490733568 bytes
Fixed Size 1291360 bytes
Variable Size 364907424 bytes
Database Buffers 121634816 bytes
Redo Buffers 2899968 bytes
RMAN> restore controlfile from autobackup;
Starting restore at 08-NOV-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=157 devtype=DISK
recovery area destination: C:\oracle\product\10.2.0\flash_recovery_area
database name (or database unique name) used for search: PRODDB
channel ORA_DISK_1: autobackup found in the recovery area
channel ORA_DISK_1: autobackup found: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AR
EA\PRODDB\AUTOBACKUP\2011_11_08\O1_MF_S_766661651_7CJY84LK_.BKP
channel ORA_DISK_1: control file restore from autobackup complete
output filename=D:\DBDATA\PRODDB\CONTROL01.CTL
output filename=D:\DBDATA\PRODDB\CONTROL02.CTL
output filename=D:\DBDATA\PRODDB\CONTROL03.CTL
Finished restore at 08-NOV-11
tried shutdown normally and mount again instead.
RMAN> shutdown;
Oracle instance shut down
RMAN> exit
Recovery Manager complete.
C:\>rman target /
Recovery Manager: Release 10.2.0.3.0 - Production on Tue Nov 8 13:49:42 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database (not started)
RMAN> startup mount;
Oracle instance started
database mounted
Total System Global Area 490733568 bytes
Fixed Size 1291360 bytes
Variable Size 369101728 bytes
Database Buffers 117440512 bytes
Redo Buffers 2899968 bytes
RMAN> restore database until sequence 10 thread 1;
Starting restore at 08-NOV-11
Starting implicit crosscheck backup at 08-NOV-11
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
Crosschecked 3 objects
Finished implicit crosscheck backup at 08-NOV-11
Starting implicit crosscheck copy at 08-NOV-11
using channel ORA_DISK_1
Crosschecked 2 objects
Finished implicit crosscheck copy at 08-NOV-11
searching for all files in the recovery area
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP\2011_11_
08\O1_MF_S_766661651_7CJY84LK_.BKP
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to D:\DBDATA\PRODDB\SYSTEM01.DBF
restoring datafile 00002 to D:\DBDATA\PRODDB\UNDOTBS01.DBF
restoring datafile 00003 to D:\DBDATA\PRODDB\SYSAUX01.DBF
restoring datafile 00004 to D:\DBDATA\PRODDB\USERS01.DBF
restoring datafile 00005 to D:\ORA_DATA\DATA01.DBF
restoring datafile 00006 to D:\ORA_DATA\DATA02.DBF
restoring datafile 00007 to D:\ORA_DATA\INDX01.DBF
restoring datafile 00008 to D:\ORA_DATA\INDX02.DBF
channel ORA_DISK_1: reading from backup piece C:\ORACLE\PRODUCT\10.2.0\FLASH_REC
OVERY_AREA\PRODDB\BACKUPSET\2011_11_07\O1_MF_NNNDF_TAG20111107T175037_7CH6YYVJ_.BK
P
failover to previous backup
//however, still get the same results(ended up with errors)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/08/2011 13:50:29
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
Edited by: HappyJay on 2011/11/08 13:59 -
Is there a way to clean up data without restore and backup?
I noticed recently that too much data is being silently stored on my iPad possibly be apps and caches.
Isn't iOS supposed to clean up data as it needs free storage?
most recently, according to usage in settings > general, I had 1.8 GB of free space. I wanted to install an app that is 2GB in size. iOS told me there was not enough free space. I could not find what used so much data, and frankly this time the list of apps in settings > general > usage proved to be pointless. Adding the numbers together of how much space the apps were using up was nowhere near enough to leave me with only 1.8 GB of free space.
I did a backup, then restored my iPad. After that, I restored the backup with all apps and data I had before. Now I have 7.2 GB free space. 5.4 GB of temporary and junk files, with no way of erasing them, is quite frustrating.
Anyone knows a solution or shall I just restore my iPad pretty much every 2-3 weeks? (Yes, the last 5 or 6 restores I have performed were solely for freeing up storage space that mysteriously keep being filled up.)
Additionally, how do I find out which apps use up so much space when settings > general > usage doesn't tell me anything? Only how much space the app itself needs and how much permanent (user generated) data is being stored. Such as pictures, save game files, and so on, but nothing about cache sizes temporary data.
PS: if the above was asked and answered before, please accept my apologies and could you link me the topic it has been resolved in?Hi! And thanks for your reply!
It sounds sensible. Since the last restore which was just over a day at the time of me writing this reply, there is over 1GB of data unaccounted for. Note that I have not installed new apps, nor DLCs within games. The two I have been using heavily are Netflix and Youtube, both of which should automatically erase temporary data. Or so they claim.
However, there was a period when I had my iPad on charger overnight. When I woke up, just out of curiosity I checked the usage statistics and I found my free space was about 200 MB less than when I checked immediately before goong to bed. So the iPad was not used at all and somehow I lost 200MB.
I did try a software for Windows called Phone Clean, but that didn't help. Before the restore, I ran a deep scan, and it only cleaned up about 500MB of data even though there was nearly 5GB unaccounted for. I performed the restore, and that was when I thought this is beyond me, and posted this topic.
I have also noticed that when I watch a movie with the Videos app by streaming from iTunes instead of downloading, after watching it, the storage will not get freed up. The movie is still there (as confirmed by trying to actually download another that was larger than the current free space, then the previous movie file was indeed deleted by iOS automatically) but it does not show up in usage > videos. According to iOS the Videos.app has no data within.
I'll try a full reset soon and see how it goes. Obviously it will take some time to test it, but I'll let you know of any results. Luckily, I don't have many apps that don't use iCloud storage so their data should be there despite dropping the backup, and installing them clean should be easy using iTunes on a PC.
If that doesn't help, I go one step further and download the apps one by one.
Well, there is plan.
To be honest, it would really be helpful if we could see individual app containers as that way we can easily find out which app is being naughty.
Any way, thanks for the tip! Give me a couple of days and I'll let you know how it went. -
If I need a full rman restore which backups will it use?
Hello,
I have a database 11.1.0.7 with 8TB. Block change tracking is enabled.
At the weekend I take level 0 backup and during the week level 1 cumulative.
For some weeks the level 0 backup is failing, so I only have level 1 cumulative backups taken every week day with a 4 weeks old level 0 backup.
If I need a full rman restore which backups will it use? Will it be the last level 0 backup with the last level 1 cumulative?
I ask this because grid crontrol tells me that the recent level 1 backups input size is smaller than last week level 1 backups and in between I dont have any level 0 sucessfull backups. Shouldn't the input size of level 1 cumulative increase until the next level 0 backup ?
The grid reports:
Backup Name Status Start Time Time Taken Type Output Devices Input Size Output Size Output Rate (Per Sec)
rman_df_lv1c COMPLETED 25/Jul/2011 21H00m WEST 02:33:29 DB INCR SBT_TAPE *1.32T* 289.02G 32.14M
rman_df_lv0 FAILED 23/Jul/2011 02H01m WEST DB INCR SBT_TAPE 8.78T 8.06T
rman_df_lv1c COMPLETED 21/Jul/2011 21H00m WEST 04:39:38 DB INCR SBT_TAPE *3.46T* 550.82G 33.62M
rman_df_lv1c COMPLETED 20/Jul/2011 21H00m WEST 04:47:36 DB INCR SBT_TAPE *3.37T* 524.36G 31.12M
rman_df_lv1c COMPLETED 19/Jul/2011 21H00m WEST 04:06:09 DB INCR SBT_TAPE *3.15T* 490.75G 34.03M
rman_df_lv1c COMPLETED 18/Jul/2011 21H00m WEST 03:40:24 DB INCR SBT_TAPE *2.49T* 410.88G 31.82M
rman_df_lv0 FAILED 16/Jul/2011 22H16m WEST DB INCR SBT_TAPE 6.27T 5.69T
rman_df_lv1c FAILED 14/Jul/2011 21H00m WEST 06:13:40 DB INCR SBT_TAPE 4.38T 714.30G 32.62M
rman_df_lv1c FAILED 13/Jul/2011 21H01m WEST 04:40:45 DB INCR SBT_TAPE 3.25T 542.98G 33.01M
rman_df_lv1c COMPLETED 12/Jul/2011 21H00m WEST 07:15:54 DB INCR SBT_TAPE 4.74T 847.93G 33.20M
rman_df_lv1c COMPLETED 11/Jul/2011 21H00m WEST 07:26:40 DB INCR SBT_TAPE 3.78T 766.40G 29.28M
rman_df_lv0 FAILED 9/Jul/2011 02H32m WEST 04:30:44 DB INCR SBT_TAPE 749.89G 716.02G 45.14M
rman_df_lv1c FAILED 7/Jul/2011 21H01m WEST 04:49:24 DB INCR SBT_TAPE 2.16T 515.90G 30.42M
rman_df_lv1c FAILED 6/Jul/2011 21H00m WEST 01:26:06 DB INCR SBT_TAPE 745.83G 165.48G 32.80M
rman_df_lv1c FAILED 5/Jul/2011 21H01m WEST 00:05:48 DB INCR SBT_TAPE 58.56G 7.56G 22.24M
rman_df_lv1c FAILED 4/Jul/2011 21H00m WEST 01:55:03 DB INCR SBT_TAPE 422.40G 79.55G 11.80M
rman_df_lv0 FAILED 3/Jul/2011 16H32m WEST 30:22:04 DB INCR SBT_TAPE 4.53T 4.21T 40.40M>
If I need a full rman restore which backups will it use? Will it be the last level 0 backup with the last level 1 cumulative?
From http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmvalid.htm
Validating Backups Before Restoring Them
You can run RESTORE ... VALIDATE to test whether RMAN can restore a specific file or set of files from a backup. RMAN chooses which backups to use.
The database must be mounted or open for this command. You do not have to take datafiles offline when validating the restore of datafiles, because validation of backups of the datafiles only reads the backups and does not affect the production datafiles.
When validating files on disk or tape, RMAN reads all blocks in the backup piece or image copy. RMAN also validates offsite backups. The validation is identical to a real restore operation except that RMAN does not write output files.
You can monitor what RESTORE VALIDATE does.
Make precautions, so you do not damage the production DB!!!
Iordan Iotzov
http://iiotzov.wordpress.com/ -
Error while restoring the backup
HI,
We have taken the offline backup through BRtools but we have used rman to take the backup in init.SID.sap. We have succeeded in taking the backup of the database and it has saved in .S format. Now when we are restoring with Brrestore it is giving the below error. Can any one suggest how to restore the backup.
Copyright (c) 1982, 2007, Oracle. All rights reserved.
RMAN>
RMAN> connect target *
connected to target database: XID (DBID=3524048029, not open)
using target database control file instead of recovery catalog
RMAN> *end-of-file*
RMAN>
host command complete
RMAN>
allocated channel: ORA_MAINT_DISK_1
channel ORA_MAINT_DISK_1: sid=143 devtype=DISK
RMAN>
changed backup piece available
backup piece handle=/archive/offLine/xid/beeqftcz/xid.data5.S recid=1314 stamp=735914182
Changed 1 objects to AVAILABLE status
RMAN>
released channel: ORA_MAINT_DISK_1
RMAN> 2> 3>
allocated channel: dsk
channel dsk: sid=143 devtype=DISK
Starting restore at 29-NOV-10
released channel: dsk
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/29/2010 07:25:24
RMAN-20201: datafile not found in the recovery catalog
RMAN-06010: error while looking up datafile: /oracle/XID/sapdata2/xid_5/xid.data5
RMAN>
Recovery Manager complete.
BR0280I BRRESTORE time stamp: 2010-11-29 07.25.33
BR0279E Return code from 'SHELL=/bin/sh /oracle/XID/102_64/bin/rman nocatalog': 0
BR0536E RMAN call for database instance XID failed
BR0280I BRRESTORE time stamp: 2010-11-29 07.25.33
BR0553E Restore from normal database backup using RMAN failed
BR0359E Restore of /oracle/XID/sapdata2/xid_5/xid.data5 from /archive/offLine/xid/beeqftcz failed due to previous errors
BR0278E Command output of 'SHELL=/bin/sh /oracle/XID/102_64/bin/rman nocatalog':
Recovery Manager: Release 10.2.0.4.0 - Production on Mon Nov 29 07:24:00 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
RMAN>
RMAN> connect target *
connected to target database: XID (DBID=3524048029, not open)
using target database control file instead of recovery catalog
RMAN> *end-of-file*
RMAN>
host command complete
RMAN>
allocated channel: ORA_MAINT_DISK_1
channel ORA_MAINT_DISK_1: sid=141 devtype=DISK
RMAN>
changed backup piece available
backup piece handle=/archive/offLine/xid/beeqftcz/xid.data4.S recid=1307 stamp=735914046
Changed 1 objects to AVAILABLE status
RMAN>
released channel: ORA_MAINT_DISK_1
RMAN> 2> 3>
allocated channel: dsk
channel dsk: sid=141 devtype=DISK
Starting restore at 29-NOV-10
released channel: dsk
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/29/2010 07:25:24
RMAN-20201: datafile not found in the recovery catalog
RMAN-06010: error while looking up datafile: /oracle/XID/sapdata2/xid_4/xid.data4
RMAN>
Recovery Manager complete.
BR0280I BRRESTORE time stamp: 2010-11-29 07.25.33
BR0279E Return code from 'SHELL=/bin/sh /oracle/XID/102_64/bin/rman nocatalog': 0
BR0536E RMAN call for database instance XID failed
BR0280I BRRESTORE time stamp: 2010-11-29 07.25.33
BR0553E Restore from normal database backup using RMAN failed
BR0359E Restore of /oracle/XID/sapdata2/xid_4/xid.data4 from /archive/offLine/xid/beeqftcz failed due to previous errors
BR0359E Restore of /oracle/XID/sapdata2/xid_1/xid.data1 from /archive/offLine/xid/beeqftcz failed due to previous errors
BR0359E Restore of /oracle/XID/sapdata2/xid_2/xid.data2 from /archive/offLine/xid/beeqftcz failed due to previous errors
BR0359E Restore of /oracle/XID/sapdata4/xiddb_3/xiddb.data3 from /archive/offLine/xid/beeqftcz failed due to previous errors
Regards,
Manikanth.Is your backup got completed succesfully?
-
Creating a test database from backups of the production
Hello Experts,
I am a newbie with very much new in Oracle. I have been provided with the inc0 backup(which comprises even the controlfile backup) of the production database (PROD) taken through RMAN and asked to create a new test database (TEST) using the backup. Can anyone please provide me the steps on how to restore it and create the new database ?
Database version 10.2.0.4
I am aware of duplicate database concept using RMAN, but I have been asked to not to connect to the target (PROD) database while duplicating. So, I need to create the test database by using the backup of prod database without connecting to 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 different database name
When you are restoring using the 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 db_name from prod to test by recreating the controlfile -
Camera roll empty but shows 6.1 gb. Restored to original settings after backing up. When I restored the backup camera roll still shows 6.1 gb and is still empty. I imagine that the backup contains some corruption
Hi cfgolf,
Thanks for contacting Apple Support Communities. I agree with your assessment that something is going on with that previous backup. If you restored from that backup and the issue continues, I would recommend restoring and Set up as new. Before you restore, make sure you Transfer content so that you can sync it back after setting up as new. The instructions on how to Transfer content and Set up as new are both listed in this article.
iOS: How to back up your data and set up your device as a new device
http://support.apple.com/kb/ht4137
2. Transfer content
Before you erase your device, take a few minutes to transfer your content from your device to your computer to ensure that all your critical data is safe.
6. Set up as new
Complete the setup assistant. When prompted to set up your device, select Set Up as New iPhone and tap Next to continue.
Skip the Apple ID sign-in, in case the original issue was related to any of your content on iCloud.
Note: After setting up as new, you will need to enter the Visual Voicemail password for iPhone (on carriers that support Visual Voicemail). If you've forgotten the password, contact your carrier to help you reset it.
After erasing and setting up as a new device, your device is now in a factory configuration. Test to determine if erasing and setting up as a new device resolved the issue. Content on the device may have caused unexpected behavior.
If the issue is still present, you may want to contact Apple Support.
If the issue is now resolved, sync one type of content at a time back to the device. For example, if you had an issue playing music, add songs from iTunes and confirm they will play. If your contacts weren't loading successfully, add the contacts back. After each sync, test to see if the issue has returned.
Cheers,
-Joe -
How to test restore in another server?
Hi,
I want to test full backup (hot backup using RMAN) of my DB (11.2 SE) on another server (I didn't install DB on yet).
Saad,to test the backup -which is done by third party softwareHow you restore really depends on how you backup the database !
Without knowing how the backup is done it would be incorrect to advice a single method to test restoration.
Nevertheless, you need to start with an installation of Oracle software (RDBMS, Binaries) on the new test server. You would have to install the same Oracle RDBMS Release and Version as the one that is running in your production server (where the backup was taken). If the third party software incorporates media management libraries, you'd need to install and configure them as well. Thereafter, the restore command depends on how the backup is done.
Hemant K Chitale -
How to temporarily suspend backups for a host?
We are running production OSB backups for a site with approximately 50 filesystems,
consisting of full, incremental, quarterly archive, and on-demand archive backups.
Our installation consists of
o administration master - obtool version 10.4.0.2.0 (64-bit OEL 5.8)
o media servers - obtool version 10.4.0.2 (64-bit OEL 5.8)
o SL8500 library - managed by ACSLS 8.1 with admin server attach point
Problem:
We recently lost a ZFS storage appliance storage pool due to pool corruption.
All backed-up filesystems were restored to another host pending a rebuild of
the corrupted ZFSSA.
Currently all backups are fail because they cannot communicate with the down
host. We want to suspend all attempts to back up the corrupted host pending
the rebuild. We have tried taking the host out of service via 'chhost -O'
but the scheduler launches backups that hang indefinitely with a session
status of 'awaiting resource availability'.
Is there any way to suspend backups of a host temporarily without having to
remove it from all the schedules it's in? Seems there should be but I've
been unable to find this in the docs.
Appreciate any help.
Thanks,
-pcYou can just comment it out of the dataset using a #
Then when you're ready to put it back, just uncomment it again.
Thanks
Rich -
Dear All,
I am practicing Oracle Restore scenarios on my Oracle 9i database. Once I complete my tests in Oracle 9i I will move up to 10g and then finally to 11g.
Following is my recovery scenario:
1) I did NOT configure Recovery Catalog
2) I would like to restore my databse from a 15 days old backup
3) control_file_record_keep_time is set to 7 days.
4) Backups are on tape.
Can you guys please shed some light on how to I proceed?
- PIn oracle 9i , check , which situation you can perform complete recovery and in which situations you have to select incomplete recovery.
check the notes by Alejandro Vargas, BACKUP AND RECOVERY SCENARIOS
http://www.google.co.in/#hl=en&q=oracle+backup+and+recovery+scenarios&aq=0&aqi=g10&aql=&oq=oracle+backup+and+reco&gs_rfai=&fp=aa24f2b3591f5f42
[PDF]
Backup and Recovery Scenarios - Backup & Recovery Check List
- 4:11am
File Format: PDF/Adobe Acrobat - Quick View
Oracle Support Israel. User Managed Recovery Scenarios And Configuration .... 4. recover automatic database using backup controlfile; ...
static7.userland.com/oracle/gems/.../BackupAndRecoveryChecklist.pdf
refer this, this will helps you.
Can one restore RMAN backups without a CONTROLFILE and RECOVERY CATALOG?_
http://www.orafaq.com/wiki/Oracle_database_Backup_and_Recovery_FAQ#Can_one_restore_RMAN_backups_without_a_CONTROLFILE_and_RECOVERY_CATALOG.3F
Edited by: rajeysh on Jun 20, 2010 6:36 PM -
Hello Apple I work in one of the shops phones in the Kingdom western Saudi Arabia you now restore a backup to the customer by mistake recovered to copy another client now been linked to the phone and ask me to check, I do not know PIN number
<Edited by Host>These are user forums. You are not speaking to Apple here. I'm sorry but we cannot assist you. Contact your Apple vendor in your country. Customer Service: Contacting Apple for support and service - this includes international calling numbers.
Maybe you are looking for
-
I switched computers and have authorized my new computer to use itunes and transfer my purchases, all that good stuff. I had to change my e-mails because the old e-mail was no longer being used, so I changed that information and I'm wondering if that
-
How do I change my default pdf viewer back to preview?
When I installed Adobe CS onto my computer I set the default pdf viewer to be Adobe Acrobat. Id like to change it back to using preview since it opens much quicker but I cant seem to find where to change the setting. Can someone help?
-
What's wrong with Safari - has been slow for months.
Safari Version 6.0.5 (8536.30.1) For months now, Safari has been responding incredibly slow to go to websites. What I see is a blank browser page and the blue url progress bar barely moving. It doesn't matter how I ge tto the site, if I click on a l
-
Tranport portal content from SP14 to SP18
Hello, Is it possible and advisable to transport portal content (iviews, roles, etc) from a portal on EP6 SP14 to EP6 SP18? Do I need to manually move configuration from one portal to the other? What are my options? Thank you for feedback. Kevin
-
I can only find a film on the US store, not UK why is this?
I have searched for several films (including lord of the rings) but I can only find them on the US store? Why aren't they available on the UK store?