Restore from tape speed check
Restore from tape : how we can find out out restore speed in MBs? and how to check if there are any bottlenecks/slow speed and what are things to adjust to increase its speed.
Hi DBA2008,
With rman the backup of only the data will be transfered to tape so an almost empty 2g datafile will be faster than a full 2g datafile.
To actually measure the speed you should time a backup to tape and with <list backup;> get information about the amount of data transfered.
Than time the restore this will give you an idea.
Depending on your hardware allocating more channels in the rman command can improve performance.
You could also check the backup system documentation for helpful information to measure/improve the speed.
Regards,
Tycho
Similar Messages
-
Hello Gurus
We have lvl0 RMAN database backup restored from tape but due to some reasons we could not apply recovery on it. On checking the information in controlfile, it identified only the system file and no other file. So, we recreated the controlfile and decided to recover using backup controlfile option (until cancel or until change or until time). However, to my surprise, when I listed the checkpointchange# and checkpoint_time columns of v$datafile_header, I found the difference in timestamps ranging 24 hrs -- which menat we had to apply 24 hrs of archiving to bring all dbfs to a consistent state (before it allowed us to open the db) -- so far so good, it worked that way.
My question is that, while I trigger a lvl0 RMAN backup at say 4PM on 27th July and it finishes on 4PM on 28th July (as I am directly pushing around 1 TB data to tapes) -- what is the consistency timestamp of this backup. In other words, is this backup available for a restore of 4PM 27th July? Or is it available only for a restore of 4PM 28th July and later ...?
Isn't it that RMAN works at block level and when I fire a backup it should give me all the dbf's of that timestamp..?
Appreciate your inputs/comments.When taking a online backup with RMAN, the datafiles backup is always inconsistent because it needs the archived redo logs generated during the backup to be consistent: http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/intro005.htm#sthref70.
A full online backup can only be used to restore the database to a point in time starting after backup end: if a backup starts at 4PM on 27th July and it finishes on 4PM on 28th July you can use it to restore the database to a point in time after 28-JUL 4PM. -
Steps to setup MML on veritas Netbackup to perform rman restore from tape
RMAN backup is taken to tape...
can anyone please give the steps to setup the MML on veritas Netbackup ...
and also the steps to perform rman restore from tape to a new server ....
Thanks in advancecan u please answer them ..
1)how to find out that the which tape is mounted on a backup server ?? command please ....
2)how to find out that the rman backup was successful on the tape ?
3)how to find out what are the tapes involved in that backup ?
4)do u have to the create a auxillary database while restoring from rman by tape to a new server ?
5)is there a way to findout how many GB completed in x timeframe by RMAN on oracle 11.2.0.2/10g and and oracle 9i during the backup process ??
and also please answer ...
#)RMAN backup is taken to tape...
can anyone please give the steps to setup the MML on veritas Netbackup ...
and also the steps to perform rman restore from tape to a new server ....
and
#)--- can i know the steps for the MML
CATALOG command to define new locations
----May i know the commands -
The restore from the tape runs always slow and use only one channel everytime. Is there any way we can speed up the restore using parallellism. Please suggest.
FYI - We are not using the RMAN catalog.Hi Boochi,
Could someone let me know how to run duplicate target database command with degree of parallelism?.Open more channels of both types:
allocate channel tc1;
allocate auxiliary channel ac1;
allocate channel tc2 ;
allocate auxiliary channel ac2 ;
Or if you are using tape channels:
allocate channel tc1 type 'SBT_TAPE';
allocate auxiliary channel ac1 type 'SBT_TAPE';
allocate channel tc2 type 'SBT_TAPE';
allocate auxiliary channel ac2 type 'SBT_TAPE';
Rgds,
Tycho -
Problem restoring from tape a backup with different retention days
As part of our procedure to test data restore for the SAP platform, recently we tried to restore a backup of the QAS SAP database from tape but had problems . During the analysis we think this problem happened because the retention of the backup on tape differs from the one in the configuration of SAP initSID.utl file; originally, the backup was made to a virtual tape using the brbackup tool /expiration parameter of 3 days, then cloned to a physical tape with a longer retention (30 days).
As a temporary solution to restore the data, we extended the u2018expirationu2019 parameter in the brbackup/brrestore configuration file (.utl) and since we still had the logs of the original backup (.anf file), we were able to complete the restore succesfully. We then changed back to the original the expiration time in the .utl file
We need to run the restore option in Production (PRO) environment but still we are not sure if this workaround is acceptable. Does anyone know if this option is correct or if thereu2019s another known solution for this caseHi Julio
I believe you have posted your query in the wrong forum and hence you might not be getting the responses you would want.
This forum is for Operational Performance Management Business Applications like Spend Performance Management and SCPM.
Regards
Rajesh -
RMAN RESTORE FROM TAPE DIRECTLY
Dear All,
We are in the process of testing the restore functionality of our production Db. The Backup is taken by Rman which is integrated with Netbackp. The backup files are directly going to the Tape storage.
Scenario
1. We need to restore the backup into a different host which doesn't have access to the Netbackup server and Production Db (Its a DR site)(DR excercise).
2. System team can provide the tape on the standby server.
Concerns
1. How can i proceed with restore in the secondary host.
2. Is there any way to read the backup pieces from Tape and catalog it using rman
If any come across this scenario, kindly share me the solution.
Thanks in AdvanceIf it is a NETBACKUP device, you can't restore without NETBACKUP. Well, there have been articles written on howto, but they all seem to end in "I just installed netbackup, imported the tape and restored from there."
I NEVER, EVER backup directly to tape - always to disk - most frequently with enough space to store 2 full backups plus enough archivelog file space to span before and after those backups, then sweep the backup location to tape. Recovering from tape can take 50-150% longer. If you use NETBACKUP, install it where it is needed. Going "cheap" could potentially cost the company more in downtime, than the licenses would have costs. If you NEED data, you NEED licenses to run the tools required to recover from a disaster.
The sad part is that should a catastrophic failure occur, it is usually at the most inopportune time.
Companies should treat their data [required to run their business] with the same security and backup strategies as if it was cash in the bank. I have seen a very large company literally throw away over $8M in unrecoverable orders due to impatience with bringing a system back online and not allowing the proper recovery processes to occur. Not having the proper licenses would fall into this category. Can your company afford to lose $8M in income?
Sounds like your company really needs a Business Continuity Review of your DR processes and procedures.
onedbguru - CISSP. -
Netbackup related parameters when restoring from tape to a different server
Db version: 11.2.0.2 / Solaris 10
Media Management layer : Symantec Netbackup v7
Production server : qualmh214
Prod DB Name : NEHPROD
We take backup of our prod database using a script similair to the below
run
ALLOCATE CHANNEL c1 TYPE 'SBT_TAPE';
SEND 'NB_ORA_CLIENT=qualmh214,NB_ORA_POLICY=qualmh214_rman, NB_ORA_SERV=hlsngt238, NB_ORA_SCHED=Weekly';
backup incremental level 0 database tag='NEHPROD_full' plus archivelog ;
backup format 'NEHPROD_%d_%U_%t.rbk' ;
}We have a test server :
dreyth169Every week we need to Clone the above Prod DB from its latest Level 0 Backup stored in Tape.
We have installed Symantec netbackup on our test server.
To restore using RMAN, in run block for the restore, shouldn't NB_ORA_CLIENT be the test server name dreyth169 ? ie. If we keep NB_ORA_CLIENT=qualmh214 (Prod server), then RMAN will do the restore in the PROD !!! Right? That would be a disaster.
What about NB_ORA_POLICY for test server ? Should I create new policy NB_ORA_POLICY for my test server ?Hello;
Yes, for example if you were doing an RMAN duplicate you would set it to : ( very similar operation )
NB_ORA_CLIENT=target_server
Should I create new policy NB_ORA_POLICY for my test server ?
That's the way I would do it. It may work without it however.
Since you are using oracle 11.2 another option is "Active Database duplication" If your database isn't too large and you have decent network speed and some off peak time once a week I would consider this.
I've used this with great success and you can script it fairly easy in Unix/Linux. If the Remote Host has the Same Directory Structure this get even easier. With a couple of INIT files and a clean up script on the remote this becomes a cookie cutter. Since the job would run from the remote you can avoid RMAN conflicts with your backups.
http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsynta020.htm
Best Regards
mseberg
Edited by: mseberg on Jun 25, 2012 2:50 PM -
Hi All,
Oracle Ver. 10.2.0.4 on Sun-Solaris 9.
Need to do a restore and recover on the DR site using the tape backups from production site.
The path and file names are same in both sites.
In the DR site only the Oracle server software is installed. There are no oracle files/database.
Will a incomplete recovery solve the issue?
What will be the steps in RMAN.?Hi,
If you know the location of the controlfile autobackup than
restore the spfile and controlfile first.
Than mount the controlfile and restore and recover the database to a PIT, sequence or SCN.
You can find a lot of examples of commands in this forum.
Regards,
Tycho -
Hi,
I have weekly full and daily archived RMAN backup directory to tape. I want to do clone on another server. I have all information HANDLE , TAG etc. What is the best way to restore to another server and clone database. Do I need to restore tape contents to disk and clone?
Thanks1)Using DUPLICATE TARGET DATABASE command
sample :
On clonedb do following:
rman target <targetconnectiondetails> catalog <catalogdbdetails> auxiliary /
run
allocate channel ch1 <copy the channel allocation command from source database >
set until database to_time('till what time you need data')
duplicate target database to 'clonedbname'
2)From 11g you can use ACTIVE DATABASE DUPLICATE. which does not rely on backups -
Data restoration from Tape Drive
Hi,
I have taken backup of user Home directory in LTO3 tapedrive using the "tar"command.
While restoring the backup data under a particular directory using "tar xvf"command,the data is getting extracted.
But after extraction there is no data available under that restored directory.So far as I can see your tar xvf /dev/rmt/0 -c /restoration dir is invalid syntax!
The c (or -c) is used to create an archive, so allied wit the -x to extract you have a confl;ict.
There is a -C option, but that is just for the -c (create) and -r (replace) commands.
If you want to just extract a single file or directory from the archive use:
tar xvf /dev/rmt/0 /original/directory/nameSo, as an example, if you have /export/home as a directory and (let's say) 40 users (called user01 to user40) with home directories under there and had archived it with:
tar cf /dev/rmt/0 /export/homeYou could get back just the home directory for user20 with:
tar xvf /dev/rmt/0 /export/home/user20 -
I have already cleared the content and settings from the phone twice and tried to start completely from scratch.
I also already tried backing up the phone onto my computer then restoring then using the computer back up via USB connection.
In addition, my phone displays as almost full (its an 8G) yet I have 4 songs (8.2MB), no books, 48 apps (1.98GB) - which seems like a lot of space used for apps, 96 photos (84.6MB), Documents&Data (917MB) and that's it! It just has a huge section that displays as "other" (1.62 GB) then 780.2 free.
I'm OBVIOUSLY not a tech person, but it seems like having some apps and 4 songs and 90 photos shouldn't mean your phone is so full I had to erase all the content just to do the software update for it to allow me to back it up! What is the issue there? Those numbers don't seem like they add up to anything near 8GB, but again I'm sure I'm missing something.
Any help is appreciated. My other phone was exactly the same one and I had no such problems so perhaps this one is just faulty?Error 3 or 1669
Is your phone jailbroken?
Check for hardware issues
Related errors: 1, 3, 10, 11, 12, 13, 14, 16, 20, 21, 23, 26, 27, 28, 29, 34, 35, 36, 37, 40, 1000, 1002, 1004, 1011, 1012, 1014, 1667, or 1669.
These errors mean that your device or computer may have a hardware issue that's preventing the update or restore from completing.
Check that your security software and settings aren't preventing your device from communicating with the Apple update server.
Then try to restore your iOS device two more times while connected with a cable, computer, and network you know are good.
Confirm that your security software and settings are allowing communication between your device and update servers.
If you still see the error message when you update or restore, contact Apple support.
Check for outdated or modified software
Related errors: 1015, “The required resource can't be found.”You might see these error messages if any of these are true:
Your device has a beta version of iOS.
You're trying to install an earlier version of iOS (downgrading).
Your device has unauthorized modifications to iOS, also called "jailbreaking."
Use recovery mode to restore your device to the latest version of iOS. -
Time Capsule restore from a Windows Server
Good day!
I have a user whose TC drive bit the dust: the entire system consisted of a MacBook Air running Leopard and a 500 GB TC. I am fortunate that I have backed up the TC to tape and successfully restored from tape, the SPARSEBUNDLE files on a Windows server share.
I am trying to copy the SPARSEBUNDLE files via SMB to an external USB drive (recently formatted to Mac OS Extended - Journaled) connected to a MacBook Pro running Snow Leopard.
Unfortunately, I can't copy them over. It comes back with an error message that says:
"The operation can't be completed because you don't have permission to access some of the items"
I tried also mounting the SPARSEBUNDLE files via the Disk Utility, but when I try to do a verify or repair disk, the utility just quickly finishes without any details reported.
Any help or leads would be greatly appreciated.
Warm regards,
GWGehen.Wir wrote:
From within the console window, I did a ls -la and saw the rights assigned to the file(s) within the sparsebundle:
-rwx------; this is the default rights assignment c/o UNIX and it allows you only to view the directory.
The suggested permissions would be:
-rwxr-xr-x; taken from the PUBLIC directory.
So I guess applying the proper permissions to each of the individual files under the sparsebundle_name might do the trick. Time to review my CHMOD command, eh?
Apparently, +Backup Exec 11d+ is specifically for Windoze, so I'd be doubtful you've really got complete, usable backups. It's my understanding that very few apps, even Mac apps, can deal with hard links at both the file and directory level, which TM uses extensively.
You may be able to mess about and get a single backup out of there, somehow. If so, look for the last one. If you're not familiar with the structure, there should be a single Backups.backupdb folder containing a single folder with the name of the backed-up Mac.
Inside that should be a whole series of folders named with the date & time of each backup (yy-mm-dd-hhmmss), and a single alias named Latest to the last completed one. If you can extract that one successfully, you're a miracle worker! -
Unable to restore from Overland Tape library to STK 5320
Hi,
The Details are...
STK 5320 (1.0.215.199)
WindowXP System where the volume of the STK 5320 is maped (1.0.0.185)
When restoreing a tape from Overland tape library using baracuda to STK 5320 maped volume we are getting the following log on the STK 5320.
We have checked the permission and access status for the spdtest the are in full permission and read/write resp.
Volume Name spdtest.
{color:#ff0000}*03/01/10 17:07:54 W smbd[1.0.0.185]: refimg_unres access denied*
*03/01/10 17:02:13 N smbd[1.0.0.185]: spdtest rw access granted*
*03/01/10 17:02:12 I reauth: granted 1.0.0.185 to /SPDTest ro=0 uid0=0*
{color}I opened the package and see lots of projects == are the projects in the Vault sufficient so that if I want to get the images and things out of those projects that would work?? In other words, skip the restoration totally and just open package contents and click and drag out of there?
-
How to restore a Rman backup from Tape
Hi,
We need to restore the database backup taken through RMAN on 24-JUNE-2013 from tape as this backup is not currently available on disk.
Can you please help me on the following,
1) how i can check if the same backup on 24-JUNE-2013 is available on Tape.
2) If yes how i can restore to Disk.
Because we need to create a new Clone instance from the backup taken on 24-JUNE-2013.
We are having 12.1.3 Application on Exalogic and 11.2.0.3 Database on Exadata machine.
Our support is highly appreciated.
Thanksuser11969666 wrote:
Hi,
We need to restore the database backup taken through RMAN on 24-JUNE-2013 from tape as this backup is not currently available on disk.
Can you please help me on the following,
1) how i can check if the same backup on 24-JUNE-2013 is available on Tape.
2) If yes how i can restore to Disk.
Because we need to create a new Clone instance from the backup taken on 24-JUNE-2013.
We are having 12.1.3 Application on Exalogic and 11.2.0.3 Database on Exadata machine.
Our support is highly appreciated.
Thanks
Your questions are answered in the Backup and Recovery User's Guide -- Contents
Thanks,
Hussein -
Database Restore & Recovery from tape
Hi Fellows
I'm about to attempt a recovery from backup tape to a test server, as a 'tape recovery' test. The files I've marked for recovery include (directories including all sub-tree);
Datafiles directory
$ORACLE_HOME/sid/ directory where the sid is the database sid
Control Files
adump, Bdump, cdump and udump directories
Archivelogs directory
Flashrecovery area directory
Redo logs directory
initfile and spfile
With these files recovered (from one point in time), and the dbconsole shut down prior to restore (for the sid) should the database be able to startup afterwards? Is there any other actions I should make? Thanks, DavidThanks for your responses Alok and Santosh
I'm pretty sure the files I have selected should be able to recover the database. The recovery, I think is rightly said, can only be done within Oracle. I'll look into a test of RMAN (I know it should be better) recovery once I've tested this as a 'straight from tape' recovery.
Thanks again, David
Alok and Santosh
I thought I'd put this in as 'aftermath' of the attempted recovery;
I had the server team restore the files stated (basically everything - redo, archivelogs, datafile, controlfiles, init and sp files, even the dump files) - and repalced them into directories made the same as the other server. When I started it, I was able to go into a 'Oracle Suggested' full database recovery, which was successful. I then checked the expdp dump files, 1 taken at the same time of backup as rman - and one directly after the restore), and compared rows - exactly the same. So appears to have worked.
Many thanks, David
Message was edited by:
David_W
Maybe you are looking for
-
It take ages to download and install flash player
i realize that from some time it take ages to download and install adobe flash player!! is there a problem with the server i just cant install it i use windows 7 and windows 8 in both i download but wen try to install it starts to install and it says
-
Readme file on download page says it is damaged or corrupt.
Does anyone know where else I can download it?
-
Hi Gurus, Cna iget the bapis used for the HR module in abap-hr programming .... Thanks & Regards Suman
-
Will Nokia add the possibility to automatically download the contact list (phonebook) from my C7 to the Bluetooth system of my Jaguar-XF in their next software update ? I have no problems at all with my older Nokia-6021.
-
HT204085 How do I correct the phone number I used when I set up icloudkeychain?
I just set up iCloud Keychain. However when I press accept I realized at the last moment the last number of the phone number is incorrect. How do I fix this?