MERCADOS FINANCIEROS

sábado, 13 de mayo de 2017

BACKUP SPFILE CONTROLFILE

run { 
 allocate channel ch1 type Disk maxpiecesize = 1900M FORMAT '/path/hbk_%t_set%s_piece%p_dbid%I.rman'; 
 backup incremental level 0 
 tag cold_db_f 
 filesperset 1 
 (database); 
 backup archivelog all delete all input FORMAT '/path/hbk_%t_set%s_piece%p_dbid%I.rman'; 
 backup spfile format '/oradata/orcl/rmanb/spfile_%d_%s_%T_dbid%I.rman'; 
 backup current controlfile format '/path/ctl_%t_dbid%I.rman'; 
}