Add another scenario for rman test:

Add another scenario:
SQL> conn test/test
Connected.
SQL> insert into test select * from user_objects;

1 row created.

SQL> commit;

Commit complete.

SQL>  select count(*) from test;

  COUNT(*)
----------
         3

SQL> conn / as sysdba
Connected.
SQL> alter system archive log current; 

System altered.

Move all the backupset fils to its parent directory.
Run the backup again.
RMAN> backup incremental level 1 for recover of copy with tag weekly database;

Starting backup at 09-APR-09
using channel ORA_DISK_1
channel ORA_DISK_1: starting incremental level 1 datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00003 name=/export/home/workzone/database/oracle/oradata/orcl/sysaux01.dbf
input datafile fno=00001 name=/export/home/workzone/database/oracle/oradata/orcl/system01.dbf
input datafile fno=00004 name=/export/home/workzone/database/oracle/oradata/orcl/users01.dbf
input datafile fno=00002 name=/export/home/workzone/database/oracle/oradata/orcl/undotbs01.dbf
input datafile fno=00005 name=/export/home/workzone/database/oracle/oradata/orcl/example01.dbf
input datafile fno=00006 name=/home/oracle/test01.dbf
channel ORA_DISK_1: starting piece 1 at 09-APR-09
channel ORA_DISK_1: finished piece 1 at 09-APR-09
piece handle=/home/oracle/backup/orcl_0ukc1gpo_1_1.bak tag=TAG20090409T103848 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:45
Finished backup at 09-APR-09

Starting Control File and SPFILE Autobackup at 09-APR-09
piece handle=/export/home/workzone/database/oracle/10g/flash_recovery_area/ORCL/autobackup/2009_04_09/o1_mf_s_683721633_4xtr126d_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 09-APR-09
-bash-3.00$ ls -lrt
total 19760
-rw-r-----   1 oracle   oinstall 10108928 Apr  9 10:40 orcl_0ukc1gpo_1_1.bak
Only one incremental backup file was generated.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值