
Oracle RMAN
文章平均质量分 79
cyxlxp8411
这个作者很懒,什么都没留下…
展开
-
RMAN 备份路径困惑(使用plus archivelog时)
--*******************************************-- RMAN 备份路径困惑(使用plus archivelog时)--******************************************* 最近RMAN备份时,碰到一点疑惑。即使用plus archivelog 时不管是使用format参数指定备份文件的路径还是使转载 2012-02-28 20:34:25 · 650 阅读 · 0 评论 -
Manul Backup
#RMAN configurationRMAN> show all;RMAN configuration parameters are:CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # defaultCONFIGURE BACKUP OPTIMIZATION OFF; # defaultCONFIGURE DEFAULT DEVIC原创 2012-05-17 13:23:03 · 278 阅读 · 0 评论 -
Nocatalog 下的RMAN 增量备份 shell脚本
之前整理了下catalog下全备的脚本,上次在生产库上弄了个nocatalog的脚本,结果没有在本本上保存,这次要用了,重新在整理了一下。 Linux平台下 RMAN全备和增量备份 shell脚本http://blog.youkuaiyun.com/tianlesoftware/archive/2010/07/16/5740630.aspx 在执行脚本之前,先修改几个参数值:1.转载 2012-05-11 17:37:42 · 655 阅读 · 0 评论 -
如何关闭flashback,我在itput上提的问题的回复
我的db_recovery_file_dest_size 设的2G,结果不到一个月就撑满了,除了rman好像不知道如何删除,我希望关闭flashback,可是怎麽还是发现还在往里面写日志呢。是不是还有其他的参数需要调整呢?我的环境:Linux 9 + oracle 10.1.0.2我的操作:SQL> startup mountORACLE instance转载 2012-05-11 14:43:53 · 619 阅读 · 0 评论 -
Windows 7下RMAN备份脚本
Windows 7下RMAN备份脚本在执行脚本之前,先修改几个参数值:1.DB参数:修改控制文件的保存时间,从默认的7天改成14天SQL> show parameter controlSQL> alter system set control_file_record_keep_time=14 scope=both;2.RMAN参数:开启控制文件的自动原创 2012-05-11 10:14:20 · 460 阅读 · 0 评论 -
Windows下RMAN备份脚本
Windows 下RMAN备份脚本,比较简单。 我们看内容。 1. 修改RMAN相关参数RMAN>show all;RMAN>CONFIGURE CONTROLFILE AUTOBACKUP ON;RMAN>CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'd:/backup/%F';RMA转载 2012-05-10 14:53:20 · 348 阅读 · 0 评论 -
Configuring Channels
Configuring ChannelsYou can configure persistent settings for your channels, such as channel parameters, parallelism, and the default device type for backups. The configured settings are stored转载 2012-05-10 13:09:25 · 783 阅读 · 0 评论 -
RMAN备份中的通道(CHANNEL)相关 - PARALLELISM 、FILESPERSET
PARALLELISM --- 我们还可以通过parallelism参数来指定同时"自动"创建多少个通道:RMAN > configure device type disk parallelism 3 ; 表示启动三个通道,可以加快备份恢复的速度。默认情况下,自动分配通道的并行度为1,如果你通过设置PARALLELISM设置了并行通道为2,那么在run块中,如果你没有单独通转载 2012-05-10 10:25:12 · 1427 阅读 · 1 评论 -
linux下rman备份笔记
自动删除七天前的备份: crontab -e 00 00 * * * find /home/oracle/mybackup -name '*' -mtime +7 | xargs rm 即可! rman 查找rman: find / -name rman su - oracle 查看环境变量: echo $PATH 编辑环境变转载 2012-05-10 14:32:52 · 386 阅读 · 0 评论 -
rman 备份脚本
oracle rnam 备份方案周日晚上 oracle$>rman target / msglog=/u01/rmanbak/bakl0.log cmdfile=/u01/rmanbak/script/bakl0周一晚上 oracle$>rman target / msglog=/u01/rmanbak/bakl1.log cmdfile=/u01/rmanbak/script/bakl1转载 2012-05-10 14:12:55 · 517 阅读 · 0 评论 -
一步一步学RMAN之实战RMAN备份
念奴娇•RMAN历练 秋风细雨,落叶飞,多少RMAN命令,一一铭记,想当年,毫无备份概念。一步一步,一点一滴,多少无眠夜。 春风似剪,万千心事难寄。RMAN进展迅速,学习路漫漫,几经测试,错误不断,遍寻线上线下资料,过程痛苦,豁然顿悟时,酣畅淋漓。 我心情愿,更看未来睛空。 经过前面的若干,我们已经了解并尝试了rman备份的一些命令,但是在实际环境中转载 2012-05-10 09:14:04 · 571 阅读 · 0 评论 -
用NetBackup恢复Oracle到异机
用NetBackup恢复Oracle到异机NetBackup将Oracle数据库恢复到其它服务器 一、前提 假设备份已成功(不使用rman catalog)。假设要将数据库恢复到new_host的不同文件系统/data上。以oracle8i语法为例,Oracle9无svrmgrl,需用sqlplus "/ as sysdba"。 二、步骤转载 2012-04-20 22:28:51 · 799 阅读 · 0 评论 -
使用Rman结合netbackup重定向异机恢复ORACLE数据库
使用Rman结合netbackup重定向恢复ORACLE数据库网上使用netbackup异机恢复oracle数据库完整的例子不多,由于公司的环境所致,花了些时间做了个恢复测试,以下是恢复测试,共享大家,欢迎拍砖。*****实施环境*****数据库服务器:eagle (原主机)NBUserver:sol1(NBU备份服务器)异机数据库:sol2(目标主机)转载 2012-04-20 22:23:58 · 3968 阅读 · 0 评论 -
Migrating the Flash Recovery Area to ASM
Migrating the Flash Recovery Area to ASM This section describes procedures to use if you already have backups on disk innon-ASM disk storage and you want to start using ASM to store your flash r原创 2012-05-03 14:19:48 · 637 阅读 · 0 评论 -
PL/SQL Scripts Used in Migrating to ASM Storage
PL/SQL Scripts Used in Migrating to ASM Storage The following PL/SQL scripts perform tasks which arise in the migration scenariosdescribed in this chapter. Generating ASM-to-Non-ASM Storage原创 2012-05-03 16:00:01 · 347 阅读 · 0 评论 -
Migrating a Database from ASM to Non-ASM Storage
Migrating a Database from ASM to Non-ASM Storage Migrating a database back from ASM storage to non-ASM storage is similar to theoriginal migration to ASM. The general outline of the process can原创 2012-05-03 15:50:33 · 422 阅读 · 0 评论 -
Migrating a Database into ASM
Migrating a Database into ASM To take advantage of Automatic Storage Management with an existing database youmust migrate that database into ASM. This migration is performed using RecoveryMana原创 2012-05-03 10:51:43 · 444 阅读 · 0 评论 -
Migrating Databases To and From ASM with
Migrating Databases To and From ASM with Recovery Manager This chapter describes how to migrate part or all of your database into and out of ASMstorage using Recovery Manager. It includes the fo原创 2012-05-03 10:44:51 · 323 阅读 · 0 评论 -
执行数据库备份
手工备份的缺点1、产生大量的重做日志2、需要手工记录大量的信息每个备份文件的位置、备份时间每个数据文件的位置Oracle提供了recovery manager工具,简称RMAN。使得我们的备份工作极大的简化RMAN备份恢复的优点1、备份数据文件、归档日志、控制文件、spfile2、自动维护备份相关的元数据,例如备份文件的名称、完成备份的SCN号3、以数据块为单位转载 2012-09-04 11:02:31 · 1151 阅读 · 0 评论