Thursday, 7 May 2015

RMAN cataloging tape backup piece

Catalog Backset backup on Symantec 

1.
Activate automatic rman configuration
catalog device type 'sbt_tape' backuppiece '668ghi8_1_1';

2.
DECLARE 
v_dev varchar2(50); 
v_fullname varchar2(900); 
recid number; 
stamp number
BEGIN v_dev:=sys.dbms_backup_restore.deviceAllocate(type=>'sbt_tape', ident=>'test'); sys.dbms_backup_restore.inspectBackupPiece('hggfddhgf_1_1',v_fullname,recid,stamp); sys.dbms_backup_restore.deviceDeallocate; 
END;
 / 

No comments:

Post a Comment