zoukankan      html  css  js  c++  java
  • Oracle rman 全备份的一个小例子

    run
    {
      allocate channel d1 type disk;
      backup database format='/u01/backup/%T_%d_%s.bak';
      sql 'alter system archive log current';
      backup archivelog all format='/u01/backup/%T_%d_%s.log';
      backup current controlfile format='/u01/backup/%T_%d_%s.ctl';
      release channel d1;  
    }
    sql 'alter system archive log current';  此命令为归档日志

  • 相关阅读:
    LeetCode
    LeetCode
    LeetCode
    LeetCode
    LeetCode
    LeetCode
    LeetCode
    LeetCode
    LeetCode
    LeetCode
  • 原文地址:https://www.cnblogs.com/john2017/p/6364552.html
Copyright © 2011-2022 走看看