title: How can I change default backup location for oracle11g using RMAn?
body: <p>I want to change to another drive due to lack of disk space.</p>
  
  <p>How can I change the default location of backup files used by oracle to another drive using RMAN?</p>
  
  <p>By default it's in the folder <code>ORACLE_HOME</code> from variables.</p>
  
  <p>edit:</p>
  
  <p>Found some links with problems like mine <a href="http://www.dbforums.com/oracle/1631901-wrong-rman-backup-location-configure.html" rel="nofollow">here</a>, but they didn't help.</p>
  
  <p>My script looks like this one:</p>
  
  <p><code>run {<br>
  allocate channel d1 type disk;<br>
  allocate channel d2 type disk;<br>
  backup<br>
  format 'd:/backups/%U.bkp'<br>
  database plus archivelog;<br>
  release channel d1;<br>
  release channel d2;<br>
  }</code>  </p>
  
  <p>Edit : By running the above scripts the backup will never finish</p>