2012年12月19日

摘要: 在虚拟机上搞的测试,把源库全备后,删除,利用备份文件恢复出来。模拟恢复到异机。 数据库版本: SQL> select * from v$version; BANNER -------------------------------------------------------------------------------- Oracle Database 11g En... 阅读全文

posted @ 2012-12-19 16:10 雅飞士 阅读(387) 评论(0) 推荐(0) 编辑

摘要: 1.重命名控制文件: [oracle@yfs orcl]$ ll | grep ctl -rw-r-----. 1 oracle oinstall 10960896 Dec 17 16:22 control01.ctl [oracle@yfs orcl]$ mv control01.ctl control01.ctl_bak 2.启动数据库,发现出错了: ... 阅读全文

posted @ 2012-12-19 16:04 雅飞士 阅读(519) 评论(0) 推荐(0) 编辑

摘要: 本实验简单介绍数据文件损坏后的恢复。 1.创建测试环境:建测试表空间和测试用户。 SQL> create tablespace tbs_rman datafile '/oradata/orcl/tbs_rman.dbf' size 5M autoextend off; Tablespace created. SQL> create user testrman identified... 阅读全文

posted @ 2012-12-19 16:01 雅飞士 阅读(341) 评论(0) 推荐(0) 编辑

摘要: 备份: 备份全库: RMAN> backup database format '/backup/fulldb/%U'; RMAN> list backup of database; 备份表空间: RMAN> backup tablespace tbs_pb_dparam; Starting backup at 20121214152625 using channel ORA... 阅读全文

posted @ 2012-12-19 15:57 雅飞士 阅读(430) 评论(0) 推荐(0) 编辑

摘要: 连接: [oracle@yfs ~]$ rman target / Recovery Manager: Release 11.2.0.3.0 - Production on Fri Dec 14 11:42:03 2012 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. ... 阅读全文

posted @ 2012-12-19 15:53 雅飞士 阅读(668) 评论(0) 推荐(0) 编辑


Copyright © 2024 雅飞士
Powered by .NET 8.0 on Kubernetes