RMAN备份与恢复之DataBase
2015-10-14 11:16
387 查看
1 准备
run { allocate channel ch1 type disk maxpiecesize=2g; backup as compressed backupset format '/NewBackup/rman_backup/whole_%d_%U.bks' filesperset=3 tag dbfull database ; crosscheck archivelog all; delete expired archivelog all; sql 'alter system archive log current'; backup archivelog all format '/NewBackup/rman_backup/%d_%s_%p_%t.arch' tag dbarch; backup spfile format '/NewBackup/rman_backup/%d_%s_%p_%t.spfile' tag dbspfile; backup format '/NewBackup/rman_backup/%d_%s_%p_%t.ctl' tag dbctl current controlfile; release channel ch1; }
备份全库
相关文章推荐
- 浦东做仪器采集积累的SSL函数用法
- Oracle 管道化表函数
- [260]Single Number III
- Xamarin.Android使用教程之Android项目结构
- 论坛中摘取的,关于Nor flash一些问题点
- Citrix的ICA协议介绍与对比
- 容器vector 的用法
- 解决eclipse+tomcat7的中文乱码的一个方法
- LeakCanary:简单粗暴的内存泄漏检测工具
- 转-用Eclipse 开发Dynamic Web Project应用程序
- Java编程机试:获取某一字符串中(只要字母),每一个字母出现的次数输出格式为a(x)b(y)c(z).....m(n)
- PHP图像处理--不超过给定大小的等比例的缩放
- 需要解决的问题ionic nvbar 和 view的分离
- 【leetcode】73. Set Matrix Zeroes
- Linux入门(一):50个最常用的指令
- 事件总结
- Android实现跑马灯效果的方法
- iOS中读取照片库
- outline轮廓线在不同CSS样式下的表现
- js追加元素,以及元素位置