ORACLE 11g:RMAN设置仅查看完整备份

时间:2016-05-04 03:34:41

标签: oracle

我们已成功使用RMAN执行了FULL和INCREMENTAL备份。使用“RMAN> LIST BACKUP;”命令我们列出了RMAN所做的所有备份。但我们只能看到FULL备份而没有INCREMENTAL备份。

我们假设是否有任何RMAN配置设置为仅列出FULL备份,并使用“RMAN> SHOW ALL”检查相同内容命令但没有找到这样的设置。请使用“LIST BACKUP”命令列出在列出备份时未列出INCREMENTAL备份的原因。

以下是我的RMAN实用程序的配置:

RMAN> show all;

using target database control file instead of recovery catalog
RMAN configuration parameters for database with db_unique_name ORCL are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOA
D TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'G:\INSTALLED_PROGRAM_FILES\ORACLE\APP\ORA\PRODUCT\11.2.0\DBHOME_1\DATABASE\SNCFORCL.ORA'; # default

1 个答案:

答案 0 :(得分:1)

“LIST BACKUP”将显示所有备份。请参阅附图。 enter image description here

请阅读以下文章以获得更好的理解。

  

https://docs.oracle.com/cd/B10501_01/server.920/a96566/rcmquery.htm

您可以使用以下查询列出rman备份:

select start_time, status, input_type, output_bytes_display, time_taken_display from v$rman_backup_job_details order by start_time desc;