Restoration of RMAN with SBT_TAPE Symantec Netbackup
Hey, people! We have batch files to run backup who send a full and differential backups of a database. It works as below:
RUN {}
ALLOCATE CHANNEL ch00
TYPE 'SBT_TAPE ';
SEND "NB_ORA_CLIENT = corp08, NB_ORA_SID = GEDD, NB_ORA_POLICY = WINDOWS-ORACLE-FULL, NB_ORA_SERV = corp05, NB_ORA_SCHED = per default-Application-Backup";
BACKUP
ADDITIONAL = 0
FORMAT "% d_ % T_ t % db_full_.
TAG 'GIA-db-full ".
DATABASE;
OUTPUT CHANNEL ch00;
# Archived backup logs
SQL 'alter system archive log current';
ALLOCATE CHANNEL ch00
TYPE 'SBT_TAPE ';
SEND "NB_ORA_CLIENT = corp08, NB_ORA_SID = GEDD, NB_ORA_POLICY = WINDOWS-ORACLE-FULL, NB_ORA_SERV = corp05, NB_ORA_SCHED = per default-Application-Backup";
BACKUP
FORMAT "% d_ % T_ t % arch_full_.
TAG 'GIA-arch-full ".
ARCHIVELOG
ALL THE
REMOVE ALL THE ENTRIES;
OUTPUT CHANNEL ch00;
# Backup control files
ALLOCATE CHANNEL ch00
TYPE 'SBT_TAPE ';
SEND "NB_ORA_CLIENT = corp08, NB_ORA_SID = GEDD, NB_ORA_POLICY = WINDOWS-ORACLE-FULL, NB_ORA_SERV = corp05, NB_ORA_SCHED = per default-Application-Backup";
BACKUP
FORMAT "% d_ % T_ t % ctrl_full_.
TAG 'GEDD-ctrl-full ".
CURRENT CONTROLFILE;
OUTPUT CHANNEL ch00;
ALLOCATE CHANNEL ch00
TYPE 'SBT_TAPE ';
OVERLAP ARCHIVELOG ALL;
OUTPUT CHANNEL ch00;
}
We use Symantec Netbackup software to support us on leave, the backup files to SBT_TAPE.
The incident occurs when I try to restore a tablespace, for example.
When I run a restore below procedure:
RMAN > RUN {
ALLOCATE CHANNEL ch00 TYPE SBT_TAPE SEND 'NB_ORA_CLIENT = corp08';
recover the tablespace "T_CCEL_DAT_01", "T_CCEL_IND_01" until "to_date ('2014-06-23 08:00 ',' ' YYYY-MM-DD HH24:MI:SS)" auxiliary destination "D:\". » ;
}
The procedure allocates a ch00 channel, which triggers the work, find a revovery catalog but the Holy following error at the end:
channel alocado: ch00
channel ch00: SID = 66 = SBT_TAPE device type
channel ch00: Veritas NetBackup for Oracle - version 7.6 (20131113)
Iniciando recover em 24/07/14
RMAN-05026: ADVERTENCIA: implies - is o conjunto tablespaces has seguir is applied a um ponto specific no tempo
Espera - is a list of tablespaces have segmentos CANCEL
SYSTEM tablespace
Tablespace UNDOTBS1
Preencher uma instance automatica, com SID = 'sfgw'
inicializacao para instance automatica free time:
db_name = ORACLE02
db_unique_name = sfgw_tspitr_ORACLE02
compatible = 11.2.0.0.0
DB_BLOCK_SIZE = 8192
DB_FILES = 500
SGA_TARGET = 280M
process = 50
db_create_file_dest = D:------.
Log_archive_dest_1 =' location = d.: \'
Auxiliary parameter file #No used
inicializando instance automatica ORACLE02
Instance Oracle iniciada
Total da Area Global Sistema 292278272 bytes
Bytes of size 2254584 fixed
104859912 variable size bytes
180355072 of database buffers bytes
Redo buffers 4808704 bytes
Instance automatica criada
List of tablespaces that were banco dados destino sistematicamente:
Tablespace T_CCEL_DAT_01
Tablespace T_CCEL_IND_01
conteudo Memoria of Script:
{
# the requested value point in time
until ' to_date ('2014-06-23 08:00 ',' YYYY-MM-DD HH24:MI:SS') ";
# restore the controlfile
Restore clone controlfile;
# mount the controlfile
SQL clone "alter database database mount clone";
Current online journal archive #.
SQL 'alter system archive log current';
# avoid needless save structural changes during the TSPITR
SQL ' start dbms_backup_restore. AutoBackupFlag (FALSE); end;';
}
Executando Script de Memoria
Comando executando: SET until clause
Iniciando restoration em 24/07/14
Removendo instance automatica
desativando instance automatica
Oracle instance Encerramento
Instance automatica removida
channel released: ch00
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: falha comando recover em 24/07/2014 08:59:41
RMAN-03015: erro ocorrido no armazenado memory Script script
RMAN-06034: at least 1 channel must be distributed to run this command
I study and I can not find a conclusion as to the error. Is there someone to help me with this?
Kind regards
André Luis
I found the error: we put the channel as Symantec on Allocate environment variables below.
RUN {}
ALLOCATE CHANNEL ch00 TYPE SBT_TAPE SEND 'NB_ORA_CLIENT = corp0814';
Restore tablespace t_outorgas_dat_01 until TIME ' TO_DATE ('2014-07-24 02:50 ',' ' YYYY-MM-DD HH24:MI:SS) "validate;
}
Tags: Database
Similar Questions
-
Restoration of RMAN with different NLS_TERRITORY
Hi, we need to restore/recover (or duplicate) our database on another site with different NLS_TERRITORY, DATE_FORMAT, etc.. However, the character sets are the same:
Environment: 12cR1 on Windows Server 2008R2 on both systems
PARAMETER VALUE ------------------------------ -------------- NLS_NCHAR_CHARACTERSET AL16UTF16 NLS_CHARACTERSET AL32UTF8
The session must be changed before you run the restore? As
ALTER SESSION SET NLS_TERRITORY='...
Thanks for your help!
Is not serious because/NLS_TERRITORY NLS_LANGUAGE does not affect how the data is stored on the disk.
-
How to restore backup rman to the new host with the structure of the various files on windows?
Here are the steps that I follow...
1 oradim create new instance
2 startup nomount pfile = 'C:\inittest.ora'
3. restore conrolfile of 'c:\name.bak '.
I found this file control point to the oradata folder as directed by the original host
4. Alter database mount
Mounted DB.
5 restore database completed with error
switch to the previous backup
RMAN-00571: ==================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ==================================================
RMAN-03002: failure of the restore command at the 12:17:55 08/12/2014
RMAN-06026: some targets not found - abandonment of restoration
RMAN-06023: no backup or copy of the file 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
So, it is possible to restore and recover the rman backup to the new host with the structure of different file...?
Hello
Try to rename the log file to roll forward online to the desired path on the destination server, and then open with resetlogs.
SQL > alter database file rename ' G:\APP\ORADATA\HOOP\REDO01. JOURNAL "to"
"; Kind regards
Shivananda
-
restore user managed with RMAN backup hot
Is it possible to restore hot backup with RMAN user managed and recover the database?
What is use of command RMAN CATALOG?
Oracle doc said: [http://docs.oracle.com/cd/B14117_01/server.101/b10770/rcmsynta11.htm#79814]
(1) order catalog added a copy of the data file information, archived redo log or copy of control in the repository files.
(2) add metadata to a copy of the data file managed by users, copy of control files, archived log or backup piece to the RMAN Repository.
After using the 'CATALOGUE' to add metadata to managed backup in the catalog of recovery and after having made "RESYNC CATALOG", I still don't see my backup listed in the output of
RMAN > list backup
Published by: Gaurav Mhatre on April 23, 2013 10:35Gaurav Mhatre says:
After using the 'CATALOGUE' to add metadata to managed backup in the catalog of recovery and after having made "RESYNC CATALOG", I still don't see my backup listed in the output ofRMAN > list backup
backup of the list won't show you the results.your not done backup with rman directly taken by data copy.so file
RMAN > list copy;
above cmd will show that you have desired results check it out.
-
Restoration of RMAN of the CARS to single Instance on another node with dif NAME DB
Hi all
We intend to make RMAN RESTORE on the test server, taking the RMAN backup to disk of the production server.
Production server configuration:
---------------------------------------------
NAME: genprod
CARS: 2 node RAC.
OPERATING SYSTEM: IBM AIX 6.1
DATABASE VERSION: 10.2.0.4
Test server configuration:
---------------------------------------
NAME: miguat
CARS: 2 node RAC.
OPERATING SYSTEM: IBM AIX 6.1
DATABASE VERSION: 11.2.0.3
How do RESTORE RMAN of the CARS to single Instance on another node with NAME DB different...
My production database name was "GENPROD"... my test server database has been 'MIGUAT '.
When I do the restoration, I get the following error:
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 06/08/2012 13:22:11
RMAN-06026: some targets not found - abandonment of restoration
RMAN-06023: no backup or copy of the file 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
Please help me with this...
Kind regards
VAMSi...Hello
You can take a look at http://taliphakanozturken.wordpress.com/2012/07/20/how-to-restore-10g-rman-backup-to-11g/
You will need to change the name of db only after the database was opened after the upgrade and other steps.
Anand
-
Restore virtual machines with Netbackup and VCB
I just Netbackup 6.5.2 and using VCB 1.5. When I create my backups, it makes the .img files. When I try to restore using Netbackup, it won't recognize backups from windows NT and not Flash. And VM converter does not recognize the .img files. So, how can I restore, what am I am I doing wrong?
Hello. The NetBackup .img files are not accessible directly. They are used internally by NetBackup.
When the only restore files vmdk (virtual machine complete), NetBackup 6.5.2 supports two types of restorations. First of all, you can automatically perform a restore of the entire virtual machine by using the free VMware Converter component. The second method involves all first restore VMware vmdk and then manually by your restoration.
These processes are described in the document of NetBackup 6.5.2 update which can be found here:
FTP://exftpp.Symantec.com/pub/support/products/NetBackup_Enterprise_Server/302438.PDF
Feel free to contact me directly if you have any additional questions.
-George Winter
-
Restore the RMAN backup on another server
Hello
ENV: Oracle 10 g 2 64 bit, RHEL 5.8 64 bit on ASM, Database size = ~ 1.3 to
Backup RMAN of PROD will FRA and then backed up to tape. I have limited access to the PROD because it is maintained by 3rd party.
My client is planning to move this database on their own datacenter (from the 3rd party data center). For test purposes, I asked DBA of 3rd party to provide us with an export of drawings required data pump. Export takes about 8 hours, and the import takes the same time to the new location. To copy the files exported to new locations takes another few hours (over the network). The total size of the dump file is around 500 GB. Thus, a whole cycle of Export-Import-copy takes about ~ 20 + Hrs.
I want to try another option to reduce the time required for the updating of the database of PROD and which is "use RMAN backup of PROD ' and restore it on the data center server. RMAN full backup takes ~ 4hrs PROD and the restoration should be at the same time (new server has better and faster HW, storage with a SSD). I found this thread very useful on the Oracle Forms on this topic:
Restore backup RMAN on another server
This thread contains very good example for a restoration of database on the file system.
I have a bit of confusion because my database uses ASM. The default location of the backups in PROD is FRA (on ASM == > db_recovery_file_dest = + FRA ). If I understand correctly, the RMAN backup must be in the same place where he was on the PROD Server - i.e. the diskgroup FRA.
If I get a copy of the part 3 RMAN backup, how would I copy on FRA?
OR can / should I just change the init parameter "db_recovery_file_dest" on the new server to point to the file system directory where the backup (say "/ ora_backup") and RMAN will pick up and restore the database?
Please advise!
Best regards
You can restore the backup files to any location, then you must configure the channel using the "CONFIGURE CHANNEL device type disk format 'new location ';
This thread will help
Restore from a different location from the original location of RMAN backup
-
How to restore the Rman incremental level 0 backup if the SID is different?
Hi Experts,
I had a little problem with restore rman backup of level 0. I have backup rman for oracle 11.2.0.1.0 - 64 bit and restore the server to Test 11.2.0.1.0 - 64 bit.
Problem:
Sid = prd production server
Sid = prderp test server
Operating system is Oracle linux 5 on both servers.
How to restore Rman if the SID is different?Hello
Refer to this http://shivanandarao.wordpress.com/2012/04/19/duplicating-primary-database-to-a-new-host-without-connecting-to-the-primary-database-in-oracle-10g11g/
You need to restore it under the same name as you have in the production and later change the dbname using the NEST.
If you don't want to go with this method, then I suggest you to go with the method of double RMAN.
http://www.Oracle-base.com/articles/11g/duplicate-database-using-RMAN-11gr2.php
http://docs.Oracle.com/CD/B28359_01/backup.111/b28270/rcmdupdb.htmrman target sys/
@prod auxiliary sys/ @tst RMAN>duplicate target database to 'prderp' nofilenamecheck; Please close this Re: how to restore the Rman backup if the SID is different? wire by marking as replied.
-
restore the RMAN backup to new server
Hello
I took RMAN backup of a database with the control file autobackup on... I copied the backup
to a new server restored the spfile from backup and changed the settings
bdump, udump, control the file because the directory structure is different from the original
machine. I have restored the control file and it has been restored correctly.
Now I need to restore the data files in the new path so I used the set newname and switch
but I get an error... I posted the error please look
RMAN > run
2 > {}
3 > the value of newname for datafile 1 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\SYSTEM01. DBF';
4 > the value of newname for datafile 2 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\UNDOTBS01. DBF';
5 > the value of newname for datafile 3 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\SYSAUX01. DBF';
6 > the value of newname for datafile 4 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\USERS01. DBF';
7 > the value of newname for datafile 5 to 'E:\ORACLE\METAGRID\ORADATA\METAGRID\TSDATA_01.DBF ';
8 > the value of newname for datafile 6 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\TSIDX01. DBF';
9 > the value of newname for datafile 7 to
' E:\ORACLE\METAGRID\ORADATA\METAGRID\TSDATA_AUDIT01. DBF';
10 > restore database;
11 > switch datafile;
12 > restore database;
{13 >}
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
From restoration to 11 November 10
using channel ORA_DISK_1
channel ORA_DISK_1: from datafile backupset restoration
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
restoring datafile 00001 to E:\ORACLE\METAGRID\ORADATA\METAGRID\SYSTEM01. DBF
restoring datafile 00002 to E:\ORACLE\METAGRID\ORADATA\METAGRID\UNDOTBS01. DBF
restoring datafile 00005 to E:\ORACLE\METAGRID\ORADATA\METAGRID\TSDATA_01.DBF
restoring datafile 00006 to E:\ORACLE\METAGRID\ORADATA\METAGRID\TSIDX01. DBF
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 11/11/2010 12:38:24
ORA-19693: already included backup E:\RMAN\DB_0FLSLJH1_1_1 pieceTry to clear and recataloguer backups will be used before the restore:
rman target / crosscheck backup; delete expired backup; catalog start with 'path_to_your_backup';
-
Hi guys
I need to restore the rman backup last week of... We do not catalog database.
I need to restore it on the same machine with a different mount point of...
I know that I can use the option tag especially last restore backup week, but its restoration of production so thought if someone can give me a list of the steps I have to follow... anyone who has done this before.
do I have to fire at the end as his incomplete recovery resetlogs... I need backup last Saturday... don't want to backup Monday on top of it.
Please help me in this.
ConcerningNo logseq isn't the tag number. It's the redo log sequence number.
You can get the sequence of logs by using the following query:
Select SEQUENCE #, FIRST_CHANGE #, to_char (first_time, 'dd-MON-yyy hh24:mi:ss') of v$ log_history;This will give you the name & time log has been generated. So, you will be able to find the newspapers at the time up to which you want to restore.
-
my iphone 5 s has been disabled. I'm trying to restore my iphone with itunes and itunes asks me to put the password for my iphone. but my iphone does not display the unlock screen. What should I do now?
Hello
Follow the instructions here:
-
restore the ipad with icloud owner account
restore the ipad with icloud owner account information
You can't do that. Activation lock won't let you. If you are unable to contact the previous owner, you have a useless device on your hands.
-
Why my pictures didn't backup when I restored my phone with my backup
I got a new phone, but before that I erased all my data on it, I backed up in iCloud. So when I went to restore my phone with the iCloud backup, everything went back on my phone expect my photos. So how can I get my pictures on my phone from the backup?
Hey there Meg.
Welcome to Apple Support communities.
If I understand correctly, photos are missing in your iPhone after restoring a backup to iCloud. The article below provides a lot of information and troubleshooting tips that should help you to solve the problem of missing photos.
Help find missing information in iCloud after restoring to an iOS - Apple Support device
Your photos
In iOS 8.1 or later with iCloud than on photo library, your photos and videos are stored in iCloud. They are not included in your backup to iCloud. After you restore your device, connect to the Wi - Fi and turn on iCloud photo library by going to settings > iCloud > Photos. Your photos and videos starts to download.
If you use iOS 8.1 or later and have not turned on iCloud photo library, or if you use the iOS 7, iCloud backup includes photos and videos in your film or photo library. They will download on your iOS device when restoring.
- Photos in my photo stream is already stored in iCloud, so that they are not part of your backup. iCloud stores the photos that you have uploaded to my stream of photos for 30 days. To keep these pictures on your device and to be part of your backups, save these photos in your library, film or another album.
- To view an album My Photo Stream, make sure that my photo stream is enabled in the settings (if use you iCloud photo library, the photo stream my folder is removed).
- To retrieve the photos synchronized to the origin of your device from your computer, synchronize your device via iTunes on a computer.
- To restore an iPhone or an iPod touch photo library (or film), iCloud backup must be from an iPhone or iPod touch. To restore photos photo library (or film) to an iPad, iCloud backup must be from an iPad.
Take care.
-
I had to completely restore my computer with a F10 restore now it wont let me not put my software on without XP Service Pack 2 when I try to load SP2 it says that there is a cryptographic error
Any ideas?
See...
Cleaning a compromised system
http://TechNet.Microsoft.com/en-us/library/cc700813.aspxFollow the instructions in this post of mine in another forum (to-the-letter & in order!) to restore your computer to a State course: http://aumha.net/viewtopic.php?f=62&t=44636
If you need additional assistance with the clean install, please start a new thread in this forum: http://social.answers.microsoft.com/Forums/en-US/xprepair/threads
~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft
-
How to restore a flashdrive with its original files that have been replaced or removed?
Original title: how to restore a flashdrive with its original files? I accidentally replaced a file with an earlier version of this file.
Missing file
Hi, David B.Erkens,.Unfortunately, you can not recover the file from the flash drive. You may need to use some third party recovery software to get the file.
Please use your favorite search engine and browse for such a program that is used to.
Note: This response contains a reference to third party World Wide Web site. Microsoft provides this information as a convenience to you. Microsoft does not control these sites and no has not tested any software or information found on these sites; Therefore, Microsoft cannot make any approach to quality, security or the ability of a software or information that are there. There are the dangers inherent in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
Maybe you are looking for
-
HP Touchsmart 610-1015XT with ATI Radeon HD 5570 blue screen and no display
Can someone show me how to disassemble this system to replace the graphics card?Thank you
-
What's new in the aviable for Satellite A100-PSAA9 Bios?
I canoe found a chanlog :(
-
Hello I recently downloaded labview in order to write a scenario that would take measures of voltage of a battery by using the NI USB 6008 case. My code has worked fine until I extended my trial labview for the period of 45 days. I receive the error
-
Data transfer Assistant - doesn't recognize palm desktop
I have a Palm Tungsten e I installed Palm Desktop v6.2 so I could transfer my data on my new Pre phone. My Pre phone is plugged into the USB port on my computer and I selected the USB key on the phone. I then started the data transfer Assistant, has
-
Computer takes 15 minutes to open and general performance of my computer is slow
Original title: System Update updates microsoft windows my computer takes 15 minutes when I need to open it and the top & arrow down is very slow and the internet is very slow also. can you help me to fix the problms?