Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Oracle RMAN 11g Backup and Recovery- P5: Oracle, yet another edition of our RMAN backup and recovery book has hit the shelves! Oracle Database 11g has proven to be quite the release to be sure. RMAN has new functionality and whizbang new features that improve an already awesome product. RMAN has certainly evolved over the years, as anyone who started working with it in Oracle version 8 can attest to. | 168 Part II Setup Principles and Practices from the RMAN repository RMAN sends the request to NetBackup to delete the corresponding images from its repository regardless of the retention level. The code for deleting expired backups is shown next RMAN allocate channel for maintenance type SBT TAPE RMAN crosscheck backup RMAN delete expired backup The crosscheck command should be used only in cases where files marked with the status Available that no longer exist can be expired and marked deleted. RMAN should control the retention using the following command. If you configure the channel with the tape parameters there is no need to allocate channels. This feature is available in Oracle 9i Database and newer versions. RMAN allocate channel for maintenance type SBT TAPE RMAN delete noprompt obsolete RMAN Sample Scripts Something particularly clever about the NetBackup for Oracle agent installation is that it includes RMAN backup and recovery sample scripts that are pre-instrumented that is they already include code snippets or templates with code for using NetBackup. Look for the sample scripts in install_path netbackup ext db_ext oracle samples rman. These sample scripts will be included cold database backup.sh hot database backup proxy.sh cold duplex database backup full.sh hot tablespace backup.sh database restore.sh hot tablespace backup proxy.sh hot database backup.sh pit database restore.sh New scripts can be generated from the Administration Console. For anyone who has suffered through the time-consuming effort of trying to locate elusive punctuation errors these scripts come as a pleasant surprise. The following is an RMAN code snippet for calling NetBackup rman target catalog user password @rman cat db log my output.log run allocate channel t1 type SBT TAPE parms ENV NB ORA SERV storage server NB ORA POLICY RMAN DEFAULT NB ORA CLIENT db server backup database format db d U t The NetBackup Administrator s Guide recommends adding a t at the end of the format .