Restore journalreceiver from tape
Hello,
the journal receivers are saved and deleted every hour. During a recovery test we want to restore the journal receivers. Now we have lots of sequence numbers to restore. The RSTOBJ restores unfortunately only one library one time.
How can we restore the complete tape?
Tanks.
Regards
Winfried Bayer
Hi Winfried,
tja, that is one of the disadvantages of the hourly backup ;-(
You will have to restore each sequence number with RSTOBJ and then overwrite the partial receivers.
This should work with "a nice" CL program in a loop.
We could support you in this and the APYJRNCHG or whatever is following to that ...
Regards
Volker Gueldenpfennig, consolut international ag
http://www.consolut.com http://www.4soi.de http://www.easymarketplace.de
Similar Messages
-
I need to restore NDS from tape.
There is not NDS backup (Arcserve 9.01).
Can it be restored from files ?-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ah, well, maybe with SBS it is an option (no idea, never used that
product) and if it's a single-server tree you at least shouldn't be
corrupting your tree by doing so but the hardest part will be your backup.
If it does that, go for it but if not you'll need to recreate the tree or
find another backup. If you ever ran `dsrepair -rc` you may have a backup
in sys:/system/dsr_dib as I recall that can be restored by Novell.
Good luck.
rvincenty wrote:
> Thanks for the reply. It is a SBS so only one server on the tree.
> I will need to review the backup tapes for the /_netware
>
> [email protected];1800440 Wrote:
> Probably best-asked in the eDir forums, along with exactly what you
> have
> as far as a backup. Does Arcserve backup the sys:/_netware directory?
> Also are there other servers in the tree? This type of restoration is
> completely unsupported.
>
> Good luck.
>
>
>
>
>
> rvincenty wrote:
>>>> I need to restore NDS from tape.
>>>> There is not NDS backup (Arcserve 9.01).
>>>> Can it be restored from files ?
>>>>
>>>>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQIcBAEBAgAGBQJKJCrNAAoJEF+XTK08PnB5am0QALRZF97kUj ELOF1Wt97CqNYF
/GYXOCdO2z1bMplrauT+nF/8Oufvu1fGGtr6E6+19Ona44Pb6X2d5l/XVkSnenvu
fI9vdOzgzGBZ5W+1ZUVxLJwMHR6wiAsmQUeFnwL6ABWcojIZWH Hxve7VOz7WFKuM
ZqEAP+GW4fPb1AO6JjKKk46JwT4ICxYJUZq6W5I9bC2q1g7AZ6 1HAxyxydBUbmCp
bAhtC2QBL0kHnXjd+dHBlFsUaaApe1ADGmGfuQCeTQi4Pps+Bh vZ7t5Rl5vKaDW9
L9ZW9f0FCMEt9/79jVb1BAQzavmKQKoRj1hxvu31bDnGGP/78d7TvYzWMHd94TX+
53aFJunzPA1BviX2RCsnMucH1xTsT4UEHRz2L81PKBs9VI4mdr 8+86pyvGUUNLYh
efHIqAkPE8T7qeWTtmMgLbz79Rppv9oM3nwBfR+8tcohtWch8M XrTYgfihcexV/h
70fcMDxJnr77NSNVELxhFUm5FMhhsLhCdyPDbq/Abqyj4h/N8q2n6xXsv6zFuVCS
pz6YFtQNXILFKccCo4iyt0i16zhk3iZ7yQKAJrYP9vOU7xGrFR F/SapdIbf3DeJT
pl4xeQe7GS1CD3lxS4ULQHdNf7zqUfx7Yf+GNUe99tS3Rd+v9Z uP3gpKyPK+llRP
Xra28iHja3CQYU4YzHfi
=Eums
-----END PGP SIGNATURE----- -
Hard disk crashed (XP), restored files from tape backup using Retrospect onto new Windows 7 laptop. Started up Mozilla after restore but bookmarks and favourites are missing.
I still have access to the backup tape and files. I was wondering whether the bookmarks are kept anywhere special other than the Mozilla program file that I restored.http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile
-
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 -
Sun Solaris 10 restore OS from tape
Hi, can somebody help. Problem as below. Can't boot OS (solaris 10) after restoring it to new disk from tape.
Boot device: /pci@1f,700000/scsi@2/disk@1,0 File and args:
SunOS Release 5.10 Version Generic_118833-24 64-bit
Copyright 1983-2006 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hardware watchdog enabled
Hostname: esora40
ERROR: svc:/system/filesystem/root:default failed to mount /usr (see 'svcs -x' for details)
[ system/filesystem/root:default failed fatally (see 'svcs -x' for details) ]
Requesting System Maintenance Mode
(See /lib/svc/share/README for more information.)
Console login service(s) cannot run
Root password for system maintenance (control-d to bypass):
single-user privilege assigned to /dev/console.
Entering System Maintenance Mode
Nov 22 14:13:35 su: 'su root' succeeded for root on /dev/console
su: No shell /bin/ksh. Trying fallback shell /sbin/sh.
-sh: /bin/i386: not found
-sh: /usr/sbin/quota: not found
-sh: /bin/cat: not found
-sh: /bin/mail: not foundTry boot -m verbose and see if it provided any clues.
Otherwise, you havent provided enough info for anyone to suggest anything.
I'm not aware of any "generic" solaris 10 issues in this area, so its probably something specific to your environment.
Post the content of /etc/vfstab.
And the output of format when booted from cd/network.
And a df output when the filesystem are mounted. -
Restore controlfile from tape backup without autobackup setting on
I am testing a scenraio of restoring control file if we loose all control files.
My RMAN settings for CONTROLFILE AUTOBACKUP is OFF. But, I have taken a backup of controlfile using 'BACKUP CURRENT CONTROL FILE' .
When I tried to restore control file. I am receiving following error:
RMAN> run {
2> allocate channel c101 type sbt_tape;
3> restore controlfile ;
4> }
allocated channel: c101
channel c101: sid=153 devtype=SBT_TAPE
channel c101: VERITAS NetBackup for Oracle - Release 6.0 (2006110304)
Starting restore at 24-MAY-2007 13:44:59
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 05/24/2007 13:44:59
RMAN-06563: control file or SPFILE must be restored using FROM AUTOBACKUP
My question is, How can I restore control file from tape backup without CONTROLFILE AUTOBACKUP setting ON.
It sounds like, There is no way we can restore control file from tape backup if you've not set the CONTROLFILE AUTOBACKUP is ON.
Please adviceWhen all controlfiles are lost and a recovery catalog is NOT used, RMAN has no information , where to find the controlfile backup. It's not enough to specify the channel, such a channel could hold many different backups from many different databases. You have tell , which database and which backupset. Modify your run block:
SET DBID <DBID of the database,for which you want to restore the controlfile>;
RESTORE CONTROLFILE FROM <name_of_backupiece_which_contains_the_controlfile backup>';
Werner -
Restore backupsets from tape.
Hi,
We are on a 2 node RAC cluster, ASM. We run backups through rman.
Scenerio:
Rman backup runs and create backupsets in ASM diskgroup. We again run a tape backup to backup the backupsets to tape and delete the backupset from disk.
My question:
How can i restore the backupsets back to disk, if i have to restore a database?
I use the following to backup the backupsets to tape:
backup backupset completed before 'sysdate-2' delete input
But i'm not sure of what command to use to restore the backupsets back from tape to disk if i need to restore the database? Any help appriciated.
Thanks
KarthikHi,
You are keeping latest backups on disk and in case of any Disk failure, when you run RESTORE/RECOVER it will use the backups from disk.
In case if RMAN need more files then automatically restores needed archived logs from tape to disk during recovery.
Please keep backups in a separate ASM diskgroup, which should not contain active database files such as datafiles, control files, and online redo logs.
Regards,
Satishbabu Gunukula
http://oracleracexpert.blogspot.com -
I have got a 2 node RAC cluster.
I am running RMAN backup connecting to one of the nodes and then running RMAN backups to FRA.
Since I cannot backup ASM to tapes just like a normal file system, I have configured the MML to backup the FRA to tapes using "backup recovery area" command.
The FRA backup to tapes is successful.
Now if ever I need to restore / recover the database, how do I restore my backups from tape.
ie: I dont see a command to say -> restore recovery area , which will restore the backups to FRA.Or is there a way ?
If it cannot restore , then what is the point of backing up the FRA to tapes using the above command.
Any thoughts ?
AUJust try to restore database/tablespace/datafile using usual RMAN commands: RMAN will check if FRA is used and check if related backup is on disk or on tape. If backup is on tape, RMAN will read it using Media Manager Layer (MML) in a transparent way.
-
FOR EXPERTS!! How to restore controlfile from tape using TSM??
Hi ,
I have a backup of my database (controlfiles, datafiles and archives) on tapes (TSM).
I'm doing some tests and i delete all my controlfiles.
Now i'm trying to restore the control file using the following:
RMAN>set DBID=1489198124;
RMAN>run{
allocate channel t1 device type sbt_tape parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo_capdb15p.opt)';
restore controlfile from autobackup;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 05/10/2007 16:25:30
RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
The autobackup is OFF now (i will put this ON later and become a production enviroment).
How can i get the controlfile backup from tape. I have this backup on tape made by RMAN using TIVOLI STORAGE MANAGER.
Tks,
Paulo.This is the command:
run {
allocate channel t1 device type sbt_tape parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo_capdb15p.opt)';
backup current controlfile;
This is my backups!!!
RMAN> list backup of controlfile;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
5234 Incr 0 7.25M SBT_TAPE 00:00:06 10-MAY-07
BP Key: 5236 Status: AVAILABLE Compressed: NO Tag: SEMANAL
Handle: BKP_HOT_SEMANAL_02ihckld_1_1 Media: 35240
Control File Included: Ckp SCN: 215589 Ckp time: 10-MAY-07
BS Key Type LV Size Device Type Elapsed Time Completion Time
5254 Incr 1 7.25M SBT_TAPE 00:00:04 10-MAY-07
BP Key: 5260 Status: AVAILABLE Compressed: NO Tag: SEMANAL
Handle: BKP_HOT_SEMANAL_05ihcksm_1_1 Media: 35240
Control File Included: Ckp SCN: 215769 Ckp time: 10-MAY-07
BS Key Type LV Size Device Type Elapsed Time Completion Time
5315 Incr 0 7.25M SBT_TAPE 00:00:05 10-MAY-07
BP Key: 5327 Status: AVAILABLE Compressed: NO Tag: SEMANAL
Handle: BKP_HOT_SEMANAL_0aihcld9_1_1 Media: 35212
Control File Included: Ckp SCN: 216284 Ckp time: 10-MAY-07
BS Key Type LV Size Device Type Elapsed Time Completion Time
5454 Incr 0 7.25M SBT_TAPE 00:00:04 10-MAY-07
BP Key: 5459 Status: AVAILABLE Compressed: NO Tag: SEMANAL
Handle: BKP_HOT_SEMANAL_0gihcmjn_1_1 Media: 35240
Control File Included: Ckp SCN: 217433 Ckp time: 10-MAY-07
BS Key Type LV Size Device Type Elapsed Time Completion Time
5553 Incr 0 7.11M DISK 00:00:01 10-MAY-07
BP Key: 5556 Status: AVAILABLE Compressed: NO Tag: SEMANAL
Piece Name: /oracle/product/10.2.0/db/dbs/BKP_HOT_SEMANAL_0nihcv0m_1_1
Control File Included: Ckp SCN: 260191 Ckp time: 10-MAY-07 -
RMAN error when restoring controlfile from tape
Hi,
We have a Production database with instance name PROD.
We use Symantec Netbackup software to backup this database to tape library.
We want to test some recovery scenarios on a test server. So we want to restore the production backups from Tape to this test server.
We did the following:
Cloned the ORACLE Home to the Test Server.
Changed the db_name parameter to PROD and also set ORACLE_SID to PROD.
then we connected to RMAN and ran the following command to restore the control files:
RMAN> run {
set dbid 4155532403
set controlfile autobackup format for device type 'sbt_type' to '%F';
set until time "to_date('16/12/2012:10:13:37','dd/mm/yyyy:hh24:mi:ss')";
allocate channel t1 device type 'sbt_tape';
SEND 'NB_ORA_SERV=riysvbkp-001,NB_ORA_CLIENT=lh-erp';
restore controlfile to '/testerp/dbexec/tmp/cf1.ctl' from autobackup;
executing command: SET DBID
database name is "PROD" and DBID is 4155532403
executing command: SET CONTROLFILE AUTOBACKUP FORMAT
executing command: SET until clause
allocated channel: t1
channel t1: SID=171 device type=SBT_TAPE
channel t1: Veritas NetBackup for Oracle - Release 7.1 (2011082510)
sent command to channel: t1
Starting restore at 17-DEC-12
channel t1: looking for AUTOBACKUP on day: 20121216
channel t1: AUTOBACKUP found: c-4155532403-20121216-01
channel t1: restoring control file from AUTOBACKUP c-4155532403-20121216-01
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 12/17/2012 08:34:41
ORA-19870: error while restoring backup piece c-4155532403-20121216-01
ORA-19507: failed to retrieve sequential file, handle="c-4155532403-20121216-01", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
Failed to process backup file <c-4155532403-20121216-01>
Here you can see that AUTOBACKUP is found but RMAN is unable to process the backup piece.
I am not able to see any errors in the log files. Please advise.
Thanks,
Muneer.Thanks.
The earlier error is gone and now I am getting the following error:
channel t1: looking for AUTOBACKUP on day: 20121216
channel t1: AUTOBACKUP found: c-4155532403-20121216-01
channel t1: restoring control file from AUTOBACKUP c-4155532403-20121216-01
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 12/17/2012 14:34:25
ORA-19870: error while restoring backup piece c-4155532403-20121216-01
ORA-19507: failed to retrieve sequential file, handle="c-4155532403-20121216-01", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
Backup file <c-4155532403-20121216-01> not found in NetBackup catalog -
Problem when restoring Backup from Tape...
Hi
I am getting the following error when I am trying to restore a backup from Tape on AIX system:
BR0279W Return code from 'LANG+C cd /oracle/RSD/sapbackup && LANG=C cpio -iuvB .tape.hdr0 < /dev/rmt0': 0
BR0359W Restore of /oracle/RSD/sapbackup/.tape.hdr0 from /dev/rmt0 failed due to previous errors
BR0218W Checking label on volume in device /dev/rmt0 failed
BR0236I Perfhaps volume initialization with option '-i force' required
I have initialized the tape before backup to label RSDB05 which I used while taking the backup.
When I initialized the tape as mentioned above with '-i force' then while restoring there is problem of timestamp.
How to restore the backup from tape now.
Regards
Chin2Dear Ahamad,
In this command " brrestore -b xxxx.anf -m all -p /oracle/TRG/102_64/dbs/initSRC.sap " you are calling parameter file of source system initSRC.sap in which system is checking parameter/option 'compress_dir'. Please check if its same. Why you have replaced the SSID with TSID its not required at all.
Please follow these steps....
Place xxxxx.anf file in backup directory. check for parameters in initSID.sap file of TRG system. It should be the same as of SRC system.
Try again and post result if you are getting any error.
Regds
Anil -
How to I restore iPhone from tape-based backup?
Accidentally wrote over the wife's old iPhone 4S with nothing before checking the transfer to new iPhone 6.
Can I restore her old iPhone from my tape backup system through iTunes?
Thanks!Try this link http://www.notebooksapp.com/retrieve-older-itunes-backups-from-a-backup-disk/
tt2 -
Need immediately script for Restore Datafiles from TAPE Please.
Hi All,
Could you please provide me the script to restore 10 datafiles using RMAN which are stored on tape.Hi!
1. Restore the whole database:
run {
allocate channel t1 type "sbt_tape" parms 'ENV=(TDPO_OPTFILE=/path/to/your/client/tdpo_file)';
restore database;
release channel t1;
2. Restore a tablespace: (In the Example the USERS tablespace will be restored)
run {
allocate channel t1 type "sbt_tape" parms 'ENV=(TDPO_OPTFILE=/path/to/your/client/tdpo_file)';
restore tablespace users;
release channel t1;
3. Restore a datafile: (In the example teh datafile number 5 will be restored)
run {
allocate channel t1 type "sbt_tape" parms 'ENV=(TDPO_OPTFILE=/path/to/your/client/tdpo_file)';
restore datafile 5;
release channel t1;
In the above examples:
- you need to change the location of your TDPO config file.
- the database/tablespace/datafile will be only restored and not will be recovered
Best Regards
Norbert -
Restoring Database from tape to another server
Hi
What are the environment changes or other related changes that need to be made if we have to restore an oracle database to another server.
Like, we have one Oracle database on linux server XYZ and it is backed up to Tape using RMAN. And we need to restore the same database to server ABC.Do we need to modify any environment variables and such so that restore is done ? Or does it work straight away in this different server too ?Hello,
Please have a look into the document 372996.1 MOS.
and the thread: http://www.dbasupport.com/forums/showthread.php?t=56236
Good luck! -
Restoring Database to ASM from tape
We're restoring a database from tape using Oracle 10.2.0.5. We explcitely specify the location for every single file with SET NEWNAME FOR DATAFILE X. The files that get restored don't match the NEWNAME format we set it to even though the log says it restored the file to that name. I don't know what's occuring under the hood of ASM, but it appears OMF is coming into play and generating names for the files. it's becoming a problem because when we restart the restore (which occurs often due to size of the database, length of time it takes, and drives going down) we start all over because RMAN doesn't know of the existing files. This doesn't seem to be normal behavior, and I know it's not like this during file based restores.
Does anyone know what's going on within ASM itself? It appears to be normal behavior when restoring to ASM and the names are later set appropriately after the SWITCH DATAFILE ALL. That's what I think would happen. It's currently a problem restarting restores.
Any insight or help is appreciated. Thank youWe're restoring a database from tape using Oracle 10.2.0.5. We explcitely specify the location for every single file with SET NEWNAME FOR DATAFILE X. The files that get restored don't match the NEWNAME format we set it to even though the log says it restored the file to that name. I don't know what's occuring under the hood of ASM, but it appears OMF is coming into play and generating names for the files. it's becoming a problem because when we restart the restore (which occurs often due to size of the database, length of time it takes, and drives going down) we start all over because RMAN doesn't know of the existing files. This doesn't seem to be normal behavior, and I know it's not like this during file based restores.
Does anyone know what's going on within ASM itself? It appears to be normal behavior when restoring to ASM and the names are later set appropriately after the SWITCH DATAFILE ALL. That's what I think would happen. It's currently a problem restarting restores.Have you enabled OMF? as db_create_file_dest = '+data'
then if you restore database from tape/disk, it will place all the datafiles as '+data/db_unique_name/datafiles';
Maybe you are looking for
-
PS7.0.1 Could not open file because it is not the right kind of
Hi: With prior versions of PS I could open a .pdf, either from a single page file or from the whole document. But now using PS7.0.1 the subject error message is all that I get. I'm using a registered version of Acrobat 9 Pro to do the extraction. The
-
I know the name of the column. Is there any way I can search the System Tables to determine what tables and where the column name is defined so that I can build a primary key and foreign key mapping??? Thanks in advance for your help. PSULionRP
-
Hello - would like to know how I can mail merge with my imac - my pc I would create an email in word and than do a mail merge - sending each one as a separate email. What do I do to do email blasts? thanks for your help
-
SSL error when friends of friends also submit PDF form
We've sent a PDF form out into the wild. It sends back data correctly on the first time that the form is submitted. But when second-generation respondents try to submit, my contacts are reporting SSL errors. Is there a way that the PDF can be safely
-
I have two iPhones and synchronize with the same macbook. How do I segregate both applications and all the data?