RMAN

1.components of the rman

  

   rman server process

   channel

   rman repository

   recovery catalog database

2.when using rman connected to target database,default having two rman server process.(one is establishing the connection for rman to database, the other is pool rman server process )

3.in auto allocate channel

   configure  defalut device type to sbt;

   configure  default device type clear;

   in manual allocate channel

   run{

   allocate channel c1 type disk format='/u01/backup/myback.bak';

   backup datafile '/u01/oradata/lsh/users01.dbf';

   }

4.rman connection

 

   local:rman target / nocatalog

           rman target / as sysdba

   remote: rman target  sys/oracle@oraclelsh

   rman target  /  log  /u01/oradata/rman.log  append @'/u01/my_rman_scr.scr' 

5. scripted  rman

    #!/bin/bash

     rman target sys/oracle@oraclelsh  <<!

     show all;

     exit;

     !

    

  

5.

猜你喜欢

转载自killdbs.iteye.com/blog/1345394