<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">
<wml>
 <!-- page name="rman"-->
 <template>
  <do optional="false" label="Back Up" type="accept">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#rman"/>
  </do>
 </template>
 <card ordered="true" newcontext="false" id="rman">
  <do optional="false" label="Back Up" type="accept">
   <noop/>
  </do>
  <do optional="false" label="Back" type="prev">
   <prev/>
  </do>
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#rman1a"/>
  </do>
  <a href="#rman1a" accesskey="1">Page 1</a>
  <br/>
  <a href="#rman1b" accesskey="2">Page 2</a>
  <br/>
 </card>
 <card ordered="true" newcontext="false" id="rman1a">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#rman1b"/>
  </do>
  <!-- h1 -->
  <h1>How to connect to an RMAN Catalog</h1>
  <p align="left">export ORACLE_SID=<i>targetsvc</i>&#8203;rman target / catalog <i>username</i>/<i>password</i>@<i>catsvc</i>&#8203;<br/>export ORACLE_SID=<i>catsvc</i>&#8203;rman target <i>username</i>/<i>password</i>@<i>targetsvc</i> catalog <i>username</i>/<i>password</i>&#8203;</p>
  <p>
   <i>targetsvc</i> is the service name of the target database. <i>catsvc</i> is the service name for the database where the RMAN catalog resides. </p>
  <p align="left">list backup of database archivelog all;</p>
  <p align="left">
   <a href="#rman1b">Next: Page 2</a>
   <br/>
   <a href="#rman">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="rman1b">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="tsprestore.wml#tsprestore1a"/>
  </do>
  <!-- h1 -->
  <h1>RMAN-06059: expected archive log not found</h1>
  <p align="left">RMAN-06059: expected archived log not found, loss of archived log compromises recoverabilityORA-19625: error identifying file /<i>archlogpath</i>/arch<i>sid</i>_<i>nnnn</i>.arcORA-27037: unable to obtain file statusIBM AIX RISC System/6000 Error: 2: No such file or directory</p>
  <!-- h1 -->
  <h1>Compare archive logs in RMAN to ones on disk</h1>
  <p align="left">list archivelog all;list archivelog like '/<i>archlogpath</i>/arch<i>sid</i>_<i>n</i>%.arc';List of Archived Log CopiesKey Thrd Seq S Low Time Name------- ---- ------- - --------- ---- <i>nnnnnn</i> 1 <i>nnnn</i> A <i>dd-MON-yy</i> /<i>archlogpath</i>/arch<i>sid</i>_<i>nnnn</i>.arc...host 'ls -l /<i>archlogpath</i>';</p>
  <!-- h1 -->
  <h1>Delete all missing archive logs</h1>
  <p>DO NOT do crosscheck archivelog all with tape backups or archived logs, only disk backups or logs, where RMAN can successfully verify the existence of the files. Otherwise all backups or archived logs will become <span class="outlined">EXPIRED</span>. </p>
  <p align="left">list expired archivelog all;specification does not match any archive log in the recovery catalog<br/>crosscheck archivelog like '/<i>archlogpath</i>/arch<i>sid</i>_<i>n</i>%.arc';crosscheck archivelog all;<br/>list expired archivelog all;List of Archived Log CopiesKey Thrd Seq S Low Time Name------- ---- ------- - --------- ---- <i>nnnnnn</i> 1 <i>nnnn</i> X <i>dd-MON-yy</i> /<i>archlogpath</i>/arch<i>sid</i>_<i>nnnn</i>.arc...<br/>delete expired archivelog all;Do you really want to delete the above objects (enter YES or NO)?</p>
  <p align="left">
   <a href="tsprestore.wml#tsprestore1a">Next: Page 3</a>
   <br/>
   <a href="#rman1a">Prev: Page 1</a>
   <br/>
   <a href="#rman">Back Up: Menu</a>
   <br/>
  </p>
 </card>
</wml>

