<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Restore Backup From Tape in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446220#M852015</link>
    <description>uhhhhh...DBA? that would be me...LOL&lt;BR /&gt;&lt;BR /&gt;I am now copying the file in question from the tape to disk now. I got the DB started without the error and will see what happens once the file is completely copied to disk...&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 20 Dec 2004 13:59:18 GMT</pubDate>
    <dc:creator>Adrian Sobers2</dc:creator>
    <dc:date>2004-12-20T13:59:18Z</dc:date>
    <item>
      <title>Restore Backup From Tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446210#M852005</link>
      <description>I would like to restore a full backup from tape to return to the point in time the backup was done. The backup was a full, cold database backup and was written to tape.&lt;BR /&gt;&lt;BR /&gt;To recover what is the procedure I have to follow? I'm assuming I have to:&lt;BR /&gt;&lt;BR /&gt;#restore the archive from tape&lt;BR /&gt;tar -xvf /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;Thing is do I have to shutdown the database and  mount it (but not fully open it)? This is the first time I'm doing this and I would like to have some guidance. Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Miscellaneous Info.&lt;BR /&gt;&lt;BR /&gt;Oracle 8.0.5.2 running on HP-UX 11.00 64-bit&lt;BR /&gt;287MB RAM on D-CLASS 9000 server</description>
      <pubDate>Fri, 17 Dec 2004 14:21:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446210#M852005</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2004-12-17T14:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Restore Backup From Tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446211#M852006</link>
      <description>Adrian,&lt;BR /&gt;&lt;BR /&gt;Assumptions from your question:&lt;BR /&gt;-Your database is in cooked filesystems rather than raw devices.&lt;BR /&gt;-Your database was completely down at the time of the backup (cold backup means this)&lt;BR /&gt;-You used tar to do the backup.&lt;BR /&gt;-The "mount" you mention is the SQL mount database command rather than the OS mount filesystem command.&lt;BR /&gt;&lt;BR /&gt;Assuming all those are correct the answer is to  completely shutdown and do NOT mount the database (but DO mount the filesystem).  Then do the restore as you've indicated.</description>
      <pubDate>Fri, 17 Dec 2004 14:32:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446211#M852006</guid>
      <dc:creator>Jeff Lightner_1</dc:creator>
      <dc:date>2004-12-17T14:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Restore Backup From Tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446212#M852007</link>
      <description>Yes all of your assumptions are correct. But I have a follow up question:&lt;BR /&gt;&lt;BR /&gt;When you say do not mount the database but mount the filesystem. Do I just shutdown the database and with filesystems mounted (as they would be during normal daily operation), and just run the tar command?</description>
      <pubDate>Fri, 17 Dec 2004 14:49:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446212#M852007</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2004-12-17T14:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Restore Backup From Tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446213#M852008</link>
      <description>Yes, you just shutdown the database and the filesystems should still stay mounted. One thing to consider is you don't have to restore Oracle installation (ORACLE_HOME) if no changes made to Oracle configs and restore time is a consideration.&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Fri, 17 Dec 2004 15:27:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446213#M852008</guid>
      <dc:creator>Chris Xu</dc:creator>
      <dc:date>2004-12-17T15:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Restore Backup From Tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446214#M852009</link>
      <description>Just to clarify database start/stop &lt;BR /&gt;You can start Oracle db with "NOMOUNT", "MOUNT" and "OPEN" optional state. A db in any of the states is considered still running. To be double sure, just grep oracle processes after you shut it down to see if anything still running.</description>
      <pubDate>Fri, 17 Dec 2004 15:39:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446214#M852009</guid>
      <dc:creator>Chris Xu</dc:creator>
      <dc:date>2004-12-17T15:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Restore Backup From Tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446215#M852010</link>
      <description>hi Adrian,&lt;BR /&gt;&lt;BR /&gt;if you are testing backup and recovery for oracle database, it would be preferable that you use RMAN.&lt;BR /&gt;&lt;BR /&gt;RMAN decreases the chance of you making a mistake.&lt;BR /&gt;&lt;BR /&gt;I prefer to use RMAN because of the other advantages:&lt;BR /&gt;&lt;BR /&gt;1.  It is much (MUCH) faster than OS file copies by a long shot.  I can fully backup small databases even on Windows in a few minutes.&lt;BR /&gt;&lt;BR /&gt;2.  It deals with the backup process at the block level so it waits for each block to become consistent to back it up, therefore no "cracked blocks" like file copying.&lt;BR /&gt;&lt;BR /&gt;3.  You can "easily" parallelize backup and much more importantly it can parallelize recovery.&lt;BR /&gt;&lt;BR /&gt;4.  Backup retension scheduling is built-in, no more do I delete this backup or not, it's part of your design and deployment process.&lt;BR /&gt;&lt;BR /&gt;5.  It can manage the archived redo log automatically for you (getting them off the system to somewhere safe is important) including deleting the old logs.&lt;BR /&gt;6.  It deals with cold backups (if anybody actually wants to do one anymore).&lt;BR /&gt;&lt;BR /&gt;7.  One RMAN catalog database can manage a complete enterprise, Unix, Windows who cares and it can do it concurrently because the Oracle database Server is doing the real work.&lt;BR /&gt;&lt;BR /&gt;8.  Testing backups without restoring is built-in and that's nice as well.&lt;BR /&gt;&lt;BR /&gt;9.  No more putting tablespaces in backup mode and hammering the daylights out of the redo log system.&lt;BR /&gt;&lt;BR /&gt;10.  Making standby databases and cloning is way simpler under RMAN becuse it is designed to do that for you.&lt;BR /&gt;&lt;BR /&gt;These are only a few of my favorite things.&lt;BR /&gt;&lt;BR /&gt;hope this helps&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Dec 2004 23:35:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446215#M852010</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2004-12-17T23:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Restore Backup From Tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446216#M852011</link>
      <description>I have started the restoration. I shutdown Oracle and entered the following command at the prompt:&lt;BR /&gt;&lt;BR /&gt;tar -xvf /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;it seems to be recovering, but one question....&lt;BR /&gt;&lt;BR /&gt;in the output to screen I see the following....&lt;BR /&gt;&lt;BR /&gt;x opt/oracle1/IRDS/archives/arch.log1_2939.dbf, 10486784 bytes, 20482 tape blocks&lt;BR /&gt;&lt;BR /&gt;What is that "x" at the beginning of the line? What does it indicate? &lt;BR /&gt;&lt;BR /&gt;This is the first time I'm attempting to recover information from a tape on UNIX. &lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 20 Dec 2004 09:16:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446216#M852011</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2004-12-20T09:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Restore Backup From Tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446217#M852012</link>
      <description>Hi Adrian,&lt;BR /&gt;It just saying Its eXtracted the file to disk...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Nothing to worry about&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Mon, 20 Dec 2004 09:18:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446217#M852012</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2004-12-20T09:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Restore Backup From Tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446218#M852013</link>
      <description>Ok I restored the database but when I tried to open it I got an error saying that file 16 needs media recovery. I tried to then recover the file but ran into some problems. Does anyone know about this HP-UX error? 9: Bad File number? &lt;BR /&gt;&lt;BR /&gt;My situation looking bleak here...&lt;BR /&gt;&lt;BR /&gt;=============================================&lt;BR /&gt;&lt;BR /&gt;SVRMGR&amp;gt; ALTER DATABASE RECOVER AUTOMATIC DATAFILE '/opt/oracle3/oradata/IRDS/assessdata01.dbf';&lt;BR /&gt;ALTER DATABASE RECOVER AUTOMATIC DATAFILE '/opt/oracle3/oradata/IRDS/assessdata01.dbf'&lt;BR /&gt;*&lt;BR /&gt;ORA-00283: recovery session canceled due to errors&lt;BR /&gt;ORA-01114: IO error writing block to file 16 (block # 1)&lt;BR /&gt;ORA-01110: data file 16: '/opt/oracle3/oradata/IRDS/assessdata01.dbf'&lt;BR /&gt;ORA-27072: skgfdisp: I/O error&lt;BR /&gt;HP-UX Error: 9: Bad file number&lt;BR /&gt;Additional information: 1&lt;BR /&gt;SVRMGR&amp;gt;</description>
      <pubDate>Mon, 20 Dec 2004 12:47:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446218#M852013</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2004-12-20T12:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Restore Backup From Tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446219#M852014</link>
      <description>Hi Adrian,&lt;BR /&gt;I would see if a DBA would help you by verfying all the datafiles (same timestamp?...) and try creating the controlfile again, no space trouble (bdf...)?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Dec 2004 13:55:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446219#M852014</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2004-12-20T13:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Restore Backup From Tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446220#M852015</link>
      <description>uhhhhh...DBA? that would be me...LOL&lt;BR /&gt;&lt;BR /&gt;I am now copying the file in question from the tape to disk now. I got the DB started without the error and will see what happens once the file is completely copied to disk...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Dec 2004 13:59:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446220#M852015</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2004-12-20T13:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Restore Backup From Tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446221#M852016</link>
      <description>I forgot to add:&lt;BR /&gt;Check all the restored files to see if owner/group ADN permissions are correct!&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Victor</description>
      <pubDate>Mon, 20 Dec 2004 13:59:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446221#M852016</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2004-12-20T13:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Restore Backup From Tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446222#M852017</link>
      <description>Adrian,&lt;BR /&gt;&lt;BR /&gt;Victor is correct about the file permissions being the cause of the HP-UX error 9.  &lt;BR /&gt;&lt;BR /&gt;But you should not have gotten the message that the db needs recovery if you did a complete restore from a cold backup.  &lt;BR /&gt;When you did the db backup did you backup the control files?  And restore them to the location in the init.ora?  &lt;BR /&gt;&lt;BR /&gt;When you shutdown for a cold backup you should copy all the data files, control files, online redo logs (they will be empty, but it makes recovery easier). &lt;BR /&gt;&lt;BR /&gt;The controlfile contains the last system change# (SCN) for each datafile.  If your controlfile does not match your datafile you will get the message that recover is needed and you will be prompted for all the redo logs ( archive log files ) generated since the backup - up to the timestamp on the controlfile.  A cold backup should contain the controlfile as well as the .bdf files.&lt;BR /&gt;&lt;BR /&gt;Patti&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Mon, 20 Dec 2004 14:14:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restore-backup-from-tape/m-p/3446222#M852017</guid>
      <dc:creator>Patti Johnson</dc:creator>
      <dc:date>2004-12-20T14:14:36Z</dc:date>
    </item>
  </channel>
</rss>

