Chinaunix首页 | 论坛 | 博客
  • 博客访问: 22788
  • 博文数量: 12
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 134
  • 用 户 组: 普通用户
  • 注册时间: 2013-12-04 13:18
文章分类
文章存档

2014年(12)

我的朋友

分类: Oracle

2014-03-12 09:59:19

1、sqlplus /nolog
2、conn /as sysdba;
3、startup;


4、rman target sys/sys@oracle9ivm nocatalog
5、list backupset;
6、show all;
7、backup database format 'c:\fullbackup\fb_%U' ;
8、backup incremental level 0 database  format 'c:\backup1\L0_%U';
9、list backupset;


10、conn /as sysdba;
11、alter tablespace app1 read write;
12、conn user1/user;
13、create table t5 (id int,name char(10)) tablespace app1;
14、insert into t5 values(0,'zxd0');
15、commit;


16、conn /as sysdba;
17、alter system checkpoint;
18、alter system switch logfile;


19、backup incremental level 1 database  format 'c:\backup1\L0_%U';
20、list backupset;
21、quit
22、shutdown immediate;




23、rm -f app1.dbf;


阅读(935) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~