Wednesday, January 16, 2008

Steps:
# rman target /
RMAN>
RMAN> show all;
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default

CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default

RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
RMAN> SET CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F';

RMAN> SET CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';

RMAN> show all;
CONFIGURE DEFAULT DEVICE TYPE TO SBT_TAPE; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON; # default

CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default

Test the control file backup to tape :
RMAN> backup current controlfile;
Categories:

0 comments: