夜勿眠 发表于 2018-9-9 10:35:58

Oracle 学习之RMAN(七)参数配置

RMAN> CONFIGURE RETENTION POLICY TO recovery;  

  
RMAN-00571: ===========================================================
  
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
  
RMAN-00571: ===========================================================
  
RMAN-00558: error encountered while parsing input commands
  
RMAN-01009: syntax error: found ";": expecting one of: "window"
  
RMAN-01007: at line 2 column 1 file: standard input
  

  
RMAN> CONFIGURE RETENTION POLICY TO recovery window;
  

  
RMAN-00571: ===========================================================
  
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
  
RMAN-00571: ===========================================================
  
RMAN-00558: error encountered while parsing input commands
  
RMAN-01009: syntax error: found ";": expecting one of: "of"
  
RMAN-01007: at line 1 column 46 file: standard input
  

  
RMAN> CONFIGURE RETENTION POLICY TO recovery window of;
  

  
RMAN-00571: ===========================================================
  
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
  
RMAN-00571: ===========================================================
  
RMAN-00558: error encountered while parsing input commands
  
RMAN-01009: syntax error: found ";": expecting one of: "integer"
  
RMAN-01007: at line 1 column 49 file: standard input
  

  
RMAN> CONFIGURE RETENTION POLICY TO recovery window of 3;
  

  
RMAN-00571: ===========================================================
  
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
  
RMAN-00571: ===========================================================
  
RMAN-00558: error encountered while parsing input commands
  
RMAN-01009: syntax error: found ";": expecting one of: "days"
  
RMAN-01007: at line 1 column 51 file: standard input
  

  
RMAN> CONFIGURE RETENTION POLICY TO recovery window of 3 days;
  

  
new RMAN configuration parameters:
  
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
  
new RMAN configuration parameters are successfully stored
  

  
RMAN>


页: [1]
查看完整版本: Oracle 学习之RMAN(七)参数配置