Lanzar Backup de RMAN en Base de Datos Oracle

Nos conectamos

rman target /

connected to target database: BD1 (DBID=76393209)

RMAN> run
 {
 allocate channel t1 type disk ;
 allocate channel t2 type disk ;
allocate channel t3 type disk ;
allocate channel t4 type disk ;

sql 'alter system archive log current' ;
sql 'alter system archive log current' ;

backup as compressed backupset database filesperset=1 format '/export/rman_bd1/db_database_%U.bck' ;

sql 'alter system archive log current' ;
 sql 'alter system archive log current' ;

 backup as compressed backupset archivelog all format '/export/rman_bd1/db_database_%U.bck' ;

 backup current controlfile format '/export/rman_bd1/db_controlfile_%U.bck' ;

 release channel t1 ;
 release channel t2 ;
 release channel t3 ;
 release channel t4 ;
}

No hay comentarios: