Professional Documents
Culture Documents
Full 620062
18-MAR-11 /oracle/app/oradata/orcl/system01.dbf
BS Key Type LV Size
Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ --------------8
Full
6.80M
DISK
00:00:01
18-MAR-11
BP Key: 8 Status: AVAILABLE Compressed: NO Tag: TAG20110318T085344
Piece Name: /oracle/app/flash_recovery_area/ORCL/autobackup/2011_03_18/o
1_mf_s_746096024_6r5n20vk_.bkp
Control File Included: Ckp SCN: 620078
Ckp time: 18-MAR-11
SPFILE Included: Modification time: 18-MAR-11
BS Key Type LV Size
Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ --------------9
Full
148.57M
DISK
00:00:14
18-MAR-11
BP Key: 9 Status: AVAILABLE Compressed: NO Tag: TAG20110318T090254
Piece Name: /oracle/app/flash_recovery_area/ORCL/backupset/2011_03_18/o1
_mf_nnndf_TAG20110318T090254_6r5nm741_.bkp
List of Datafiles in backup set 9
File LV Type Ckp SCN
Ckp Time Name
---- -- ---- ---------- --------- ---3
Full 620852
18-MAR-11 /oracle/app/oradata/orcl/sysaux01.dbf
BS Key Type LV Size
Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ --------------10
Full
6.80M
DISK
00:00:01
18-MAR-11
BP Key: 10 Status: AVAILABLE Compressed: NO Tag: TAG20110318T090309
Piece Name: /oracle/app/flash_recovery_area/ORCL/autobackup/2011_03_18/o
1_mf_s_746096589_6r5nmpb5_.bkp
Control File Included: Ckp SCN: 620861
Ckp time: 18-MAR-11
SPFILE Included: Modification time: 18-MAR-11
BS Key Type LV Size
Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ --------------11
Full
163.38M
DISK
00:00:37
18-MAR-11
BP Key: 11 Status: AVAILABLE Compressed: NO Tag: TAG20110318T090559
Piece Name: /oracle/bkporcl/ORCL_12_0cm7h23n
List of Datafiles in backup set 11
File LV Type Ckp SCN
Ckp Time Name
---- -- ---- ---------- --------- ---3
Full 621431
18-MAR-11 /oracle/app/oradata/orcl/sysaux01.dbf
4
Full 621431
18-MAR-11 /oracle/app/oradata/orcl/users01.dbf
BS Key Type LV Size
Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ --------------12
Full
385.73M
DISK
00:00:46
18-MAR-11
BP Key: 12 Status: AVAILABLE Compressed: NO Tag: TAG20110318T090559
Piece Name: /oracle/bkporcl/ORCL_11_0bm7h23n
List of Datafiles in backup set 12
File LV Type Ckp SCN
Ckp Time Name
---- -- ---- ---------- --------- ---1
Full 621430
18-MAR-11 /oracle/app/oradata/orcl/system01.dbf
2
Full 621430
18-MAR-11 /oracle/app/oradata/orcl/undotbs01.dbf
BS Key Type LV Size
Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ --------------13
Full
6.80M
DISK
00:00:01
18-MAR-11
BP Key: 13 Status: AVAILABLE Compressed: NO Tag: TAG20110318T090654
Piece Name: /oracle/app/flash_recovery_area/ORCL/autobackup/2011_03_18/o
1_mf_s_746096814_6r5ntq8w_.bkp
Full
148.57M
DISK
00:00:14
18-MAR-11
BP Key: 9 Status: EXPIRED Compressed: NO Tag: TAG20110318T090254
Piece Name: /oracle/app/flash_recovery_area/ORCL/backupset/2011_03_18/o1
_mf_nnndf_TAG20110318T090254_6r5nm741_.bkp
List of Datafiles in backup set 9
File LV Type Ckp SCN
Ckp Time Name
---- -- ---- ---------- --------- ---3
Full 620852
18-MAR-11 /oracle/app/oradata/orcl/sysaux01.dbf
BS Key Type LV Size
Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ --------------10
Full
6.80M
DISK
00:00:01
18-MAR-11
BP Key: 10 Status: AVAILABLE Compressed: NO Tag: TAG20110318T090309
Piece Name: /oracle/app/flash_recovery_area/ORCL/autobackup/2011_03_18/o
1_mf_s_746096589_6r5nmpb5_.bkp
Control File Included: Ckp SCN: 620861
Ckp time: 18-MAR-11
SPFILE Included: Modification time: 18-MAR-11
BS Key Type LV Size
Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ --------------11
Full
163.38M
DISK
00:00:37
18-MAR-11
BP Key: 11 Status: AVAILABLE Compressed: NO Tag: TAG20110318T090559
Piece Name: /oracle/bkporcl/ORCL_12_0cm7h23n
List of Datafiles in backup set 11
File LV Type Ckp SCN
Ckp Time Name
---- -- ---- ---------- --------- ---3
Full 621431
18-MAR-11 /oracle/app/oradata/orcl/sysaux01.dbf
4
Full 621431
18-MAR-11 /oracle/app/oradata/orcl/users01.dbf
BS Key Type LV Size
Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ --------------12
Full
385.73M
DISK
00:00:46
18-MAR-11
BP Key: 12 Status: AVAILABLE Compressed: NO Tag: TAG20110318T090559
Piece Name: /oracle/bkporcl/ORCL_11_0bm7h23n
List of Datafiles in backup set 12
File LV Type Ckp SCN
Ckp Time Name
---- -- ---- ---------- --------- ---1
Full 621430
18-MAR-11 /oracle/app/oradata/orcl/system01.dbf
2
Full 621430
18-MAR-11 /oracle/app/oradata/orcl/undotbs01.dbf
BS Key Type LV Size
Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ --------------13
Full
6.80M
DISK
00:00:01
18-MAR-11
BP Key: 13 Status: AVAILABLE Compressed: NO Tag: TAG20110318T090654
Piece Name: /oracle/app/flash_recovery_area/ORCL/autobackup/2011_03_18/o
1_mf_s_746096814_6r5ntq8w_.bkp
Control File Included: Ckp SCN: 621459
Ckp time: 18-MAR-11
SPFILE Included: Modification time: 18-MAR-11
RMAN>
RMAN> delete backupset 7;
using channel ORA_DISK_1
using channel ORA_DISK_2
using channel ORA_DISK_3
List of Backup Pieces
BP Key BS Key Pc# Cp# Status
Device Type Piece Name
------- ------- --- --- ----------- ----------- ----------
7
7
1 1 EXPIRED
DISK
/oracle/app/flash_recovery_area/
ORCL/backupset/2011_03_18/o1_mf_nnndf_TAG20110318T085319_6r5n173s_.bkp
Do you really want to delete the above objects (enter YES or NO)? y
deleted backup piece
backup piece handle=/oracle/app/flash_recovery_area/ORCL/backupset/2011_03_18/o1
_mf_nnndf_TAG20110318T085319_6r5n173s_.bkp recid=7 stamp=746095999
Deleted 1 objects
RMAN> delete backupset 9;
using channel ORA_DISK_1
using channel ORA_DISK_2
using channel ORA_DISK_3
List of Backup Pieces
BP Key BS Key Pc# Cp# Status
Device Type Piece Name
------- ------- --- --- ----------- ----------- ---------9
9
1 1 EXPIRED
DISK
/oracle/app/flash_recovery_area/
ORCL/backupset/2011_03_18/o1_mf_nnndf_TAG20110318T090254_6r5nm741_.bkp
Do you really want to delete the above objects (enter YES or NO)? y
deleted backup piece
backup piece handle=/oracle/app/flash_recovery_area/ORCL/backupset/2011_03_18/o1
_mf_nnndf_TAG20110318T090254_6r5nm741_.bkp recid=9 stamp=746096575
Deleted 1 objects
RMAN> backup as backupset
2> format '/oracle/bkporcl/%d_%s_%p'
3> tablespace sysaux;
Starting backup at 18-MAR-11
using channel ORA_DISK_1
using channel ORA_DISK_2
using channel ORA_DISK_3
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00003 name=/oracle/app/oradata/orcl/sysaux01.dbf
channel ORA_DISK_1: starting piece 1 at 18-MAR-11
channel ORA_DISK_1: finished piece 1 at 18-MAR-11
piece handle=/oracle/bkporcl/ORCL_14_1 tag=TAG20110318T091335 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
Finished backup at 18-MAR-11
Starting Control File and SPFILE Autobackup at 18-MAR-11
piece handle=/oracle/app/flash_recovery_area/ORCL/autobackup/2011_03_18/o1_mf_s_
746097231_6r5o7qcn_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 18-MAR-11
RMAN> run{
2> allcate channel c1 type disk;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "identifier": expecting one of: "allocate, alter
, backup, beginline, blockrecover, catalog, change, copy, convert, crosscheck, c
===========================================================
=============== ERROR MESSAGE STACK FOLLOWS ===============
===========================================================
error encountered while parsing input commands
syntax error: found "identifier": expecting one of: "clone, database
the bad identifier was: system
at line 7 column 7 file: standard input
RMAN> run{
2> allocate channel c1 type disk;
3> allocate channel c2 type disk;
4> backup
5> format '/oracle/bkporcl/%U'
6> (datafile 1,2,3);}
released channel: ORA_DISK_1
released channel: ORA_DISK_2
released channel: ORA_DISK_3
allocated channel: c1
channel c1: sid=144 devtype=DISK
allocated channel: c2
channel c2: sid=142 devtype=DISK
Starting backup at 18-MAR-11
channel c1: starting full datafile backupset
channel c1: specifying datafile(s) in backupset
input datafile fno=00001 name=/oracle/app/oradata/orcl/system01.dbf