backup 的路径

来源:互联网 发布:网络半球摄像机 编辑:程序博客网 时间:2024/06/10 06:06
<pre name="code" class="sql">RMAN> show2> all;RMAN configuration parameters are:CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # defaultCONFIGURE BACKUP OPTIMIZATION OFF; # defaultCONFIGURE DEFAULT DEVICE TYPE TO DISK; # defaultCONFIGURE CONTROLFILE AUTOBACKUP OFF;CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # defaultCONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT   '/home/oracle/disk1/user_bs_%d%p%s.bkp';CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT   '/home/oracle/disk2/user_bs_%d%p%s.bkp';CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '/home/oracle/disk2/same_bs_%d%p%s.bkp';CONFIGURE MAXSETSIZE TO UNLIMITED; # defaultCONFIGURE ENCRYPTION FOR DATABASE OFF; # defaultCONFIGURE ENCRYPTION ALGORITHM 'AES128'; # defaultCONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # defaultCONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # defaultRMAN> 
RMAN> backup tablespace DTFILETS;Starting backup at 01-FEB-15using channel ORA_DISK_1using channel ORA_DISK_2using channel ORA_DISK_3channel ORA_DISK_1: starting full datafile backupsetchannel ORA_DISK_1: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfchannel ORA_DISK_1: starting piece 1 at 01-FEB-15channel ORA_DISK_2: starting full datafile backupsetchannel ORA_DISK_2: specifying datafile(s) in backupsetinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel ORA_DISK_2: starting piece 1 at 01-FEB-15channel ORA_DISK_2: finished piece 1 at 01-FEB-15piece handle=/home/oracle/disk2/user_bs_DB011150.bkp tag=TAG20150201T153459 comment=NONEchannel ORA_DISK_2: backup set complete, elapsed time: 00:00:02channel ORA_DISK_1: finished piece 1 at 01-FEB-15piece handle=/home/oracle/disk1/user_bs_DB011149.bkp tag=TAG20150201T153459 comment=NONEchannel ORA_DISK_1: backup set complete, elapsed time: 00:00:05Finished backup at 01-FEB-15RMAN>

清除之前设置的通道信息

RMAN> show all;RMAN configuration parameters are:CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # defaultCONFIGURE BACKUP OPTIMIZATION OFF; # defaultCONFIGURE DEFAULT DEVICE TYPE TO DISK; # defaultCONFIGURE CONTROLFILE AUTOBACKUP OFF;CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # defaultCONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE<span style="color:#cc0000;"> CHANNEL 1 DEVICE TYPE DISK FORMAT   '/home/oracle/disk1/user</span>_bs_%d%p%s.bkp';CONFIGURE <span style="color:#ff0000;">CHANNEL 2 DEVICE TYPE DISK FORMAT   '/home/oracle/disk2/user</span>_bs_%d%p%s.bkp';CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '/home/oracle/disk2/same_bs_%d%p%s.bkp';CONFIGURE MAXSETSIZE TO UNLIMITED; # defaultCONFIGURE ENCRYPTION FOR DATABASE OFF; # defaultCONFIGURE ENCRYPTION ALGORITHM 'AES128'; # defaultCONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # defaultCONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # defaultRMAN> configure channel 1 device type disk clear;old RMAN configuration parameters:CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT   '/home/oracle/disk1/user_bs_%d%p%s.bkp';old RMAN configuration parameters are successfully deletedreleased channel: ORA_DISK_1released channel: ORA_DISK_2released channel: ORA_DISK_3RMAN> show all;RMAN configuration parameters are:CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # defaultCONFIGURE BACKUP OPTIMIZATION OFF; # defaultCONFIGURE DEFAULT DEVICE TYPE TO DISK; # defaultCONFIGURE CONTROLFILE AUTOBACKUP OFF;CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # defaultCONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT   '/home/oracle/disk2/user_bs_%d%p%s.bkp';CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '/home/oracle/disk2/same_bs_%d%p%s.bkp';CONFIGURE MAXSETSIZE TO UNLIMITED; # defaultCONFIGURE ENCRYPTION FOR DATABASE OFF; # defaultCONFIGURE ENCRYPTION ALGORITHM 'AES128'; # defaultCONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # defaultCONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # defaultRMAN> configure channel 2 device type disk clear;old RMAN configuration parameters:CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT   '/home/oracle/disk2/user_bs_%d%p%s.bkp';old RMAN configuration parameters are successfully deletedRMAN> show all;RMAN configuration parameters are:CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # defaultCONFIGURE BACKUP OPTIMIZATION OFF; # defaultCONFIGURE DEFAULT DEVICE TYPE TO DISK; # defaultCONFIGURE CONTROLFILE AUTOBACKUP OFF;CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # defaultCONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '/home/oracle/disk2/same_bs_%d%p%s.bkp';CONFIGURE MAXSETSIZE TO UNLIMITED; # defaultCONFIGURE ENCRYPTION FOR DATABASE OFF; # defaultCONFIGURE ENCRYPTION ALGORITHM 'AES128'; # defaultCONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # defaultCONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # defaultRMAN> configure channel  device type disk clear;old RMAN configuration parameters:CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '/home/oracle/disk2/same_bs_%d%p%s.bkp';old RMAN configuration parameters are successfully deletedRMAN> show all;RMAN configuration parameters are:CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # defaultCONFIGURE BACKUP OPTIMIZATION OFF; # defaultCONFIGURE DEFAULT DEVICE TYPE TO DISK; # defaultCONFIGURE CONTROLFILE AUTOBACKUP OFF;CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # defaultCONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE MAXSETSIZE TO UNLIMITED; # defaultCONFIGURE ENCRYPTION FOR DATABASE OFF; # defaultCONFIGURE ENCRYPTION ALGORITHM 'AES128'; # defaultCONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # defaultCONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # defaultRMAN>
的确清空了通道设置。

再次备份表空间,查看系统默认备份地址:

RMAN> backup tablespace DTFILETS;Starting backup at 01-FEB-15allocated channel: ORA_DISK_1channel ORA_DISK_1: sid=126 devtype=DISKallocated channel: ORA_DISK_2channel ORA_DISK_2: sid=133 devtype=DISKallocated channel: ORA_DISK_3channel ORA_DISK_3: sid=132 devtype=DISKchannel ORA_DISK_1: starting full datafile backupsetchannel ORA_DISK_1: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfchannel ORA_DISK_1: starting piece 1 at 01-FEB-15channel ORA_DISK_2: starting full datafile backupsetchannel ORA_DISK_2: specifying datafile(s) in backupsetinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel ORA_DISK_2: starting piece 1 at 01-FEB-15channel ORA_DISK_1: finished piece 1 at 01-FEB-15piece handle=/u01/oracle/11G/dbs/4npu6lmq_1_1 tag=TAG20150201T154842 comment=NONEchannel ORA_DISK_1: backup set complete, elapsed time: 00:00:01channel ORA_DISK_2: finished piece 1 at 01-FEB-15piece handle=/u01/oracle/11G/dbs/4opu6lmq_1_1 tag=TAG20150201T154842 comment=NONEchannel ORA_DISK_2: backup set complete, elapsed time: 00:00:01Finished backup at 01-FEB-15RMAN> <pre name="code" class="sql"><span style="color:#cc0000;">/u01/oracle/11G/dbs 即 SQL> host echo $ORACLE_HOME/dbs     /u01/oracle/11G/dbs</span>

RMAN> show all;RMAN configuration parameters are:CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # defaultCONFIGURE BACKUP OPTIMIZATION OFF; # defaultCONFIGURE DEFAULT DEVICE TYPE TO DISK; # defaultCONFIGURE CONTROLFILE AUTOBACKUP OFF;CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # defaultCONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE MAXSETSIZE TO UNLIMITED; # defaultCONFIGURE ENCRYPTION FOR DATABASE OFF; # defaultCONFIGURE ENCRYPTION ALGORITHM 'AES128'; # defaultCONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # defaultCONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # defaultRMAN> run{allocate channel c5 DEVICE TYPE DISK;2> backup tablespace DTFILETS;}allocated channel: c5channel c5: sid=116 devtype=DISKStarting backup at 01-FEB-15channel c5: starting full datafile backupsetchannel c5: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel c5: starting piece 1 at 01-FEB-15channel c5: finished piece 1 at 01-FEB-15piece handle=<span style="color:#cc0000;">/u01/oracle/11G/dbs/</span>5gpu6nop_1_1 tag=TAG20150201T162352 comment=NONEchannel c5: backup set complete, elapsed time: 00:00:01Finished backup at 01-FEB-15released channel: c5RMAN>  run{allocate channel <span style="color:#ff0000;">c5 DEVICE TYPE DISK format '/home/oracle/disk/same_bs_%d%p%s.bkp';</span>2> backup tablespace DTFILETS;}allocated channel: c5channel c5: sid=116 devtype=DISKStarting backup at 01-FEB-15channel c5: starting full datafile backupsetchannel c5: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel c5: starting piece 1 at 01-FEB-15channel c5: finished piece 1 at 01-FEB-15piece handle=/home/oracle/disk/same_bs_DB011177.bkp tag=TAG20150201T162406 comment=NONEchannel c5: backup set complete, elapsed time: 00:00:01Finished backup at 01-FEB-15released channel: c5RMAN> 

RMAN> run{allocate <span style="color:#ff0000;">channel 5 DEVICE TYPE</span> DISK;RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "integer": expecting one of: "channel_id, double-quoted-string, equal, identifier, single-quoted-string"RMAN-01007: at line 1 column 22 file: standard inputRMAN> run{allocate channel c5 DEVICE TYPE DISK;2> backup tablespace DTFILETS;}allocated channel: c5channel c5: sid=116 devtype=DISKStarting backup at 01-FEB-15channel c5: starting full datafile backupsetchannel c5: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel c5: starting piece 1 at 01-FEB-15channel c5: finished piece 1 at 01-FEB-15piece handle=/u01/oracle/11G/dbs/5cpu6ni6_1_1 tag=TAG20150201T162022 comment=NONEchannel c5: backup set complete, elapsed time: 00:00:01Finished backup at 01-FEB-15released channel: c5RMAN> 注意手动分配通道的时候 纯数字不可以的 
RMAN> run{allocate<span style="color:#ff0000;"> channel 5 DEVICE</span> TYPE DISK format '/home/oracle/disk/same_bs_%d%p%s.bkp';RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "integer": expecting one of: "channel_id, double-quoted-string, equal, identifier, single-quoted-string"RMAN-01007: at line 1 column 22 file: standard inputRMAN>



----------------------------------------下面是各种细节,自己看吧,没什么大用-------------------------------------

[oracle@MasterHadoop50 backupset]$ rman target /Recovery Manager: Release 10.2.0.1.0 - Production on Sun Feb 1 16:01:41 2015Copyright (c) 1982, 2005, Oracle.  All rights reserved.connected to target database: DB01 (DBID=1467107934)RMAN> crosscheck DatafileCopy   '/tmp/controlfile.ctl';using target database control file instead of recovery catalogallocated channel: ORA_DISK_1channel ORA_DISK_1: sid=116 devtype=DISKallocated channel: ORA_DISK_2channel ORA_DISK_2: sid=111 devtype=DISKallocated channel: ORA_DISK_3channel ORA_DISK_3: sid=110 devtype=DISKRMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-03002: failure of crosscheck command at 02/01/2015 16:01:49RMAN-20230: datafile copy not found in the recovery catalogRMAN-06015: error while looking up datafile copy name: /tmp/controlfile.ctlRMAN> show all;RMAN configuration parameters are:CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # defaultCONFIGURE BACKUP OPTIMIZATION OFF; # defaultCONFIGURE DEFAULT DEVICE TYPE TO DISK; # defaultCONFIGURE CONTROLFILE AUTOBACKUP OFF;CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # defaultCONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE MAXSETSIZE TO UNLIMITED; # defaultCONFIGURE ENCRYPTION FOR DATABASE OFF; # defaultCONFIGURE ENCRYPTION ALGORITHM 'AES128'; # defaultCONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # defaultCONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # defaultRMAN> /home/oracle/disk2/same_bs_%d%p%s.bkpRMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01006: error signalled during parseRMAN-02001: unrecognized punctuation symbol "/"RMAN> RMAN> rman{allocate channel c4 DEVICE TYPE DISK;RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "{": expecting one of: "append, at, auxiliary, catalog, cmdfile, clone, checksyntax, debug, log, msglog, mask, msgno, nocatalog, pipe, rcvcat, script, slaxdebug, send, target, timeout, trace"RMAN-01007: at line 1 column 5 file: standard inputRMAN> backup tablespace DTFILETS;}Starting backup at 01-FEB-15using channel ORA_DISK_1using channel ORA_DISK_2using channel ORA_DISK_3channel ORA_DISK_1: starting full datafile backupsetchannel ORA_DISK_1: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfchannel ORA_DISK_1: starting piece 1 at 01-FEB-15channel ORA_DISK_2: starting full datafile backupsetchannel ORA_DISK_2: specifying datafile(s) in backupsetinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel ORA_DISK_2: starting piece 1 at 01-FEB-15channel ORA_DISK_1: finished piece 1 at 01-FEB-15piece handle=/u01/oracle/11G/dbs/4rpu6mo1_1_1 tag=TAG20150201T160625 comment=NONEchannel ORA_DISK_1: backup set complete, elapsed time: 00:00:01channel ORA_DISK_2: finished piece 1 at 01-FEB-15piece handle=/u01/oracle/11G/dbs/4spu6mo1_1_1 tag=TAG20150201T160625 comment=NONEchannel ORA_DISK_2: backup set complete, elapsed time: 00:00:01Finished backup at 01-FEB-15RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "}": expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, change, connect, copy, convert, create, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flashback, host, {, library, list, mount, open, print, quit, recover, register, release, replace, report, renormalize, reset, restore, resync, rman, run, rpctest, set, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport, upgrade, unregister, validate"RMAN-01007: at line 0 column 28 file: standard inputRMAN> RMAN> RMAN> RMAN> RMAN> RMAN> rman{allocate channel c4 DEVICE TYPE DISK format '/home/oracle/disk2/same_bs_%d%p%s.bkp';RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "{": expecting one of: "append, at, auxiliary, catalog, cmdfile, clone, checksyntax, debug, log, msglog, mask, msgno, nocatalog, pipe, rcvcat, script, slaxdebug, send, target, timeout, trace"RMAN-01007: at line 1 column 5 file: standard inputRMAN> backup tablespace DTFILETS;}Starting backup at 01-FEB-15using channel ORA_DISK_1using channel ORA_DISK_2using channel ORA_DISK_3channel ORA_DISK_1: starting full datafile backupsetchannel ORA_DISK_1: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfchannel ORA_DISK_1: starting piece 1 at 01-FEB-15channel ORA_DISK_2: starting full datafile backupsetchannel ORA_DISK_2: specifying datafile(s) in backupsetinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel ORA_DISK_2: starting piece 1 at 01-FEB-15channel ORA_DISK_1: finished piece 1 at 01-FEB-15piece handle=/u01/oracle/11G/dbs/4tpu6mpb_1_1 tag=TAG20150201T160707 comment=NONEchannel ORA_DISK_1: backup set complete, elapsed time: 00:00:03channel ORA_DISK_2: finished piece 1 at 01-FEB-15piece handle=/u01/oracle/11G/dbs/4upu6mpb_1_1 tag=TAG20150201T160707 comment=NONEchannel ORA_DISK_2: backup set complete, elapsed time: 00:00:03Finished backup at 01-FEB-15RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "}": expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, change, connect, copy, convert, create, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flashback, host, {, library, list, mount, open, print, quit, recover, register, release, replace, report, renormalize, reset, restore, resync, rman, run, rpctest, set, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport, upgrade, unregister, validate"RMAN-01007: at line 0 column 28 file: standard inputRMAN> RMAN> RMAN> RMAN> RMAN> RMAN> rman{allocate channel c1 DEVICE TYPE DISK format '/home/oracle/disk2/same_bs_%d%p%s.bkp';RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "{": expecting one of: "append, at, auxiliary, catalog, cmdfile, clone, checksyntax, debug, log, msglog, mask, msgno, nocatalog, pipe, rcvcat, script, slaxdebug, send, target, timeout, trace"RMAN-01007: at line 1 column 5 file: standard inputRMAN> backup tablespace DTFILETS;}Starting backup at 01-FEB-15using channel ORA_DISK_1using channel ORA_DISK_2using channel ORA_DISK_3channel ORA_DISK_1: starting full datafile backupsetchannel ORA_DISK_1: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfchannel ORA_DISK_1: starting piece 1 at 01-FEB-15channel ORA_DISK_2: starting full datafile backupsetchannel ORA_DISK_2: specifying datafile(s) in backupsetinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel ORA_DISK_2: starting piece 1 at 01-FEB-15channel ORA_DISK_1: finished piece 1 at 01-FEB-15piece handle=/u01/oracle/11G/dbs/4vpu6mq6_1_1 tag=TAG20150201T160734 comment=NONEchannel ORA_DISK_1: backup set complete, elapsed time: 00:00:01channel ORA_DISK_2: finished piece 1 at 01-FEB-15piece handle=/u01/oracle/11G/dbs/50pu6mq6_1_1 tag=TAG20150201T160734 comment=NONEchannel ORA_DISK_2: backup set complete, elapsed time: 00:00:01Finished backup at 01-FEB-15RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "}": expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, change, connect, copy, convert, create, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flashback, host, {, library, list, mount, open, print, quit, recover, register, release, replace, report, renormalize, reset, restore, resync, rman, run, rpctest, set, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport, upgrade, unregister, validate"RMAN-01007: at line 0 column 28 file: standard inputRMAN> show all;RMAN configuration parameters are:CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # defaultCONFIGURE BACKUP OPTIMIZATION OFF; # defaultCONFIGURE DEFAULT DEVICE TYPE TO DISK; # defaultCONFIGURE CONTROLFILE AUTOBACKUP OFF;CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # defaultCONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE MAXSETSIZE TO UNLIMITED; # defaultCONFIGURE ENCRYPTION FOR DATABASE OFF; # defaultCONFIGURE ENCRYPTION ALGORITHM 'AES128'; # defaultCONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # defaultCONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # defaultRMAN> CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT   '/home/oracle/disk1/user_bs_%d%p%s.bkp';new RMAN configuration parameters:CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT   '/home/oracle/disk1/user_bs_%d%p%s.bkp';new RMAN configuration parameters are successfully storedreleased channel: ORA_DISK_1released channel: ORA_DISK_2released channel: ORA_DISK_3RMAN> RMAN> rman{allocate channel c4 DEVICE TYPE DISK format '/home/oracle/disk2/same_bs_%d%p%s.bkp';RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "{": expecting one of: "append, at, auxiliary, catalog, cmdfile, clone, checksyntax, debug, log, msglog, mask, msgno, nocatalog, pipe, rcvcat, script, slaxdebug, send, target, timeout, trace"RMAN-01007: at line 1 column 5 file: standard inputRMAN> backup tablespace DTFILETS;}Starting backup at 01-FEB-15allocated channel: ORA_DISK_1channel ORA_DISK_1: sid=116 devtype=DISKallocated channel: ORA_DISK_2channel ORA_DISK_2: sid=111 devtype=DISKallocated channel: ORA_DISK_3channel ORA_DISK_3: sid=110 devtype=DISKchannel ORA_DISK_1: starting full datafile backupsetchannel ORA_DISK_1: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfchannel ORA_DISK_1: starting piece 1 at 01-FEB-15channel ORA_DISK_2: starting full datafile backupsetchannel ORA_DISK_2: specifying datafile(s) in backupsetinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel ORA_DISK_2: starting piece 1 at 01-FEB-15channel ORA_DISK_1: finished piece 1 at 01-FEB-15piece handle=/home/oracle/disk1/user_bs_DB011161.bkp tag=TAG20150201T160857 comment=NONEchannel ORA_DISK_1: backup set complete, elapsed time: 00:00:03channel ORA_DISK_2: finished piece 1 at 01-FEB-15piece handle=/u01/oracle/11G/dbs/52pu6msp_1_1 tag=TAG20150201T160857 comment=NONEchannel ORA_DISK_2: backup set complete, elapsed time: 00:00:03Finished backup at 01-FEB-15RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "}": expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, change, connect, copy, convert, create, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flashback, host, {, library, list, mount, open, print, quit, recover, register, release, replace, report, renormalize, reset, restore, resync, rman, run, rpctest, set, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport, upgrade, unregister, validate"RMAN-01007: at line 0 column 28 file: standard inputRMAN> RMAN> RMAN> rman{allocate channel c1 DEVICE TYPE DISK format '/home/oracle/disk/same_bs_%d%p%s.bkp';RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "{": expecting one of: "append, at, auxiliary, catalog, cmdfile, clone, checksyntax, debug, log, msglog, mask, msgno, nocatalog, pipe, rcvcat, script, slaxdebug, send, target, timeout, trace"RMAN-01007: at line 1 column 5 file: standard inputRMAN> backup tablespace DTFILETS;}Starting backup at 01-FEB-15using channel ORA_DISK_1using channel ORA_DISK_2using channel ORA_DISK_3channel ORA_DISK_1: starting full datafile backupsetchannel ORA_DISK_1: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfchannel ORA_DISK_1: starting piece 1 at 01-FEB-15channel ORA_DISK_2: starting full datafile backupsetchannel ORA_DISK_2: specifying datafile(s) in backupsetinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel ORA_DISK_2: starting piece 1 at 01-FEB-15channel ORA_DISK_1: finished piece 1 at 01-FEB-15piece handle=/home/oracle/disk1/user_bs_DB011163.bkp tag=TAG20150201T160924 comment=NONEchannel ORA_DISK_1: backup set complete, elapsed time: 00:00:01channel ORA_DISK_2: finished piece 1 at 01-FEB-15piece handle=/u01/oracle/11G/dbs/54pu6mtl_1_1 tag=TAG20150201T160924 comment=NONEchannel ORA_DISK_2: backup set complete, elapsed time: 00:00:01Finished backup at 01-FEB-15RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "}": expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, change, connect, copy, convert, create, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flashback, host, {, library, list, mount, open, print, quit, recover, register, release, replace, report, renormalize, reset, restore, resync, rman, run, rpctest, set, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport, upgrade, unregister, validate"RMAN-01007: at line 0 column 28 file: standard inputRMAN> CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT   '/home/oracle/disk2/user_bs_%d%p%s.bkp';new RMAN configuration parameters:CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT   '/home/oracle/disk2/user_bs_%d%p%s.bkp';new RMAN configuration parameters are successfully storedreleased channel: ORA_DISK_1released channel: ORA_DISK_2released channel: ORA_DISK_3RMAN> backup tablespace DTFILETS;Starting backup at 01-FEB-15allocated channel: ORA_DISK_1channel ORA_DISK_1: sid=116 devtype=DISKallocated channel: ORA_DISK_2channel ORA_DISK_2: sid=111 devtype=DISKallocated channel: ORA_DISK_3channel ORA_DISK_3: sid=110 devtype=DISKchannel ORA_DISK_1: starting full datafile backupsetchannel ORA_DISK_1: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfchannel ORA_DISK_1: starting piece 1 at 01-FEB-15channel ORA_DISK_2: starting full datafile backupsetchannel ORA_DISK_2: specifying datafile(s) in backupsetinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel ORA_DISK_2: starting piece 1 at 01-FEB-15channel ORA_DISK_1: finished piece 1 at 01-FEB-15piece handle=/home/oracle/disk1/user_bs_DB011165.bkp tag=TAG20150201T161127 comment=NONEchannel ORA_DISK_1: backup set complete, elapsed time: 00:00:01channel ORA_DISK_2: finished piece 1 at 01-FEB-15piece handle=/home/oracle/disk2/user_bs_DB011166.bkp tag=TAG20150201T161127 comment=NONEchannel ORA_DISK_2: backup set complete, elapsed time: 00:00:01Finished backup at 01-FEB-15RMAN> RMAN> RMAN> rman{allocate channel c3 DEVICE TYPE DISK format '/home/oracle/disk/same_bs_%d%p%s.bkp';RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "{": expecting one of: "append, at, auxiliary, catalog, cmdfile, clone, checksyntax, debug, log, msglog, mask, msgno, nocatalog, pipe, rcvcat, script, slaxdebug, send, target, timeout, trace"RMAN-01007: at line 1 column 5 file: standard inputRMAN> backup tablespace DTFILETS;}Starting backup at 01-FEB-15using channel ORA_DISK_1using channel ORA_DISK_2using channel ORA_DISK_3channel ORA_DISK_1: starting full datafile backupsetchannel ORA_DISK_1: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfchannel ORA_DISK_1: starting piece 1 at 01-FEB-15channel ORA_DISK_2: starting full datafile backupsetchannel ORA_DISK_2: specifying datafile(s) in backupsetinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel ORA_DISK_2: starting piece 1 at 01-FEB-15channel ORA_DISK_1: finished piece 1 at 01-FEB-15piece handle=/home/oracle/disk1/user_bs_DB011167.bkp tag=TAG20150201T161253 comment=NONEchannel ORA_DISK_1: backup set complete, elapsed time: 00:00:03channel ORA_DISK_2: finished piece 1 at 01-FEB-15piece handle=/home/oracle/disk2/user_bs_DB011168.bkp tag=TAG20150201T161253 comment=NONEchannel ORA_DISK_2: backup set complete, elapsed time: 00:00:03Finished backup at 01-FEB-15RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "}": expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, change, connect, copy, convert, create, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flashback, host, {, library, list, mount, open, print, quit, recover, register, release, replace, report, renormalize, reset, restore, resync, rman, run, rpctest, set, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport, upgrade, unregister, validate"RMAN-01007: at line 0 column 28 file: standard inputRMAN> run{allocate channel c4 DEVICE TYPE DISK format '/home/oracle/disk/same_bs_%d%p%s.bkp';2> }released channel: ORA_DISK_1released channel: ORA_DISK_2released channel: ORA_DISK_3allocated channel: c4channel c4: sid=116 devtype=DISKreleased channel: c4RMAN> RMAN> RMAN> run{allocate channel c3 DEVICE TYPE DISK format '/home/oracle/disk/same_bs_%d%p%s.bkp';2> backup tablespace DTFILETS;}allocated channel: c3channel c3: sid=116 devtype=DISKStarting backup at 01-FEB-15channel c3: starting full datafile backupsetchannel c3: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel c3: starting piece 1 at 01-FEB-15channel c3: finished piece 1 at 01-FEB-15piece handle=/home/oracle/disk/same_bs_DB011169.bkp tag=TAG20150201T161608 comment=NONEchannel c3: backup set complete, elapsed time: 00:00:01Finished backup at 01-FEB-15released channel: c3RMAN> run{allocate channel c3 DEVICE TYPE DISK;2> backup tablespace DTFILETS;}allocated channel: c3channel c3: sid=116 devtype=DISKStarting backup at 01-FEB-15channel c3: starting full datafile backupsetchannel c3: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel c3: starting piece 1 at 01-FEB-15channel c3: finished piece 1 at 01-FEB-15piece handle=/u01/oracle/11G/dbs/5apu6ncm_1_1 tag=TAG20150201T161726 comment=NONEchannel c3: backup set complete, elapsed time: 00:00:01Finished backup at 01-FEB-15released channel: c3RMAN> run{allocate channel 1 DEVICE TYPE DISK;RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "integer": expecting one of: "channel_id, double-quoted-string, equal, identifier, single-quoted-string"RMAN-01007: at line 1 column 22 file: standard inputRMAN> run{allocate channel c1 DEVICE TYPE DISK;2> backup tablespace DTFILETS;}allocated channel: c1channel c1: sid=116 devtype=DISKStarting backup at 01-FEB-15channel c1: starting full datafile backupsetchannel c1: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel c1: starting piece 1 at 01-FEB-15channel c1: finished piece 1 at 01-FEB-15piece handle=/u01/oracle/11G/dbs/5bpu6ndo_1_1 tag=TAG20150201T161800 comment=NONEchannel c1: backup set complete, elapsed time: 00:00:01Finished backup at 01-FEB-15released channel: c1RMAN> run{allocate channel  DEVICE TYPE DISK;RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "device": expecting one of: "channel_id, double-quoted-string, equal, identifier, single-quoted-string"RMAN-01007: at line 1 column 23 file: standard inputRMAN> show all;RMAN configuration parameters are:CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # defaultCONFIGURE BACKUP OPTIMIZATION OFF; # defaultCONFIGURE DEFAULT DEVICE TYPE TO DISK; # defaultCONFIGURE CONTROLFILE AUTOBACKUP OFF;CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # defaultCONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT   '/home/oracle/disk1/user_bs_%d%p%s.bkp';CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT   '/home/oracle/disk2/user_bs_%d%p%s.bkp';CONFIGURE MAXSETSIZE TO UNLIMITED; # defaultCONFIGURE ENCRYPTION FOR DATABASE OFF; # defaultCONFIGURE ENCRYPTION ALGORITHM 'AES128'; # defaultCONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # defaultCONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # defaultRMAN> run{allocate channel 1;RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "integer": expecting one of: "channel_id, double-quoted-string, equal, identifier, single-quoted-string"RMAN-01007: at line 1 column 22 file: standard inputRMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found ";": expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, change, connect, copy, convert, create, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flashback, host, {, library, list, mount, open, print, quit, recover, register, release, replace, report, renormalize, reset, restore, resync, rman, run, rpctest, set, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport, upgrade, unregister, validate"RMAN-01007: at line 1 column 23 file: standard inputRMAN> run{allocate channel 4;RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "integer": expecting one of: "channel_id, double-quoted-string, equal, identifier, single-quoted-string"RMAN-01007: at line 1 column 22 file: standard inputRMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found ";": expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, change, connect, copy, convert, create, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flashback, host, {, library, list, mount, open, print, quit, recover, register, release, replace, report, renormalize, reset, restore, resync, rman, run, rpctest, set, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport, upgrade, unregister, validate"RMAN-01007: at line 1 column 23 file: standard inputRMAN> run{allocate channel 5;RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "integer": expecting one of: "channel_id, double-quoted-string, equal, identifier, single-quoted-string"RMAN-01007: at line 1 column 22 file: standard inputRMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found ";": expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, change, connect, copy, convert, create, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flashback, host, {, library, list, mount, open, print, quit, recover, register, release, replace, report, renormalize, reset, restore, resync, rman, run, rpctest, set, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport, upgrade, unregister, validate"RMAN-01007: at line 1 column 23 file: standard inputRMAN> run{allocate channel c5;RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found ";": expecting one of: "device, name, type"RMAN-01007: at line 1 column 24 file: standard inputRMAN> run{allocate channel c1 DEVICE TYPE DISK;2> 3> RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "end-of-file": expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, change, copy, convert, crosscheck, configure, duplicate, debug, delete, execute, endinline, flashback, host, mount, open, plsql, recover, release, replicate, report, restore, resync, }, set, setlimit, sql, switch, startup, shutdown, send, show, transport, validate"RMAN-01007: at line 3 column 1 file: standard inputRMAN> run{allocate channel 5 DEVICE TYPE DISK;RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "integer": expecting one of: "channel_id, double-quoted-string, equal, identifier, single-quoted-string"RMAN-01007: at line 1 column 22 file: standard inputRMAN> run{allocate channel c5 DEVICE TYPE DISK;2> backup tablespace DTFILETS;}allocated channel: c5channel c5: sid=116 devtype=DISKStarting backup at 01-FEB-15channel c5: starting full datafile backupsetchannel c5: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel c5: starting piece 1 at 01-FEB-15channel c5: finished piece 1 at 01-FEB-15piece handle=/u01/oracle/11G/dbs/5cpu6ni6_1_1 tag=TAG20150201T162022 comment=NONEchannel c5: backup set complete, elapsed time: 00:00:01Finished backup at 01-FEB-15released channel: c5RMAN> backup tablespace DTFILETS;Starting backup at 01-FEB-15allocated channel: ORA_DISK_1channel ORA_DISK_1: sid=116 devtype=DISKallocated channel: ORA_DISK_2channel ORA_DISK_2: sid=111 devtype=DISKallocated channel: ORA_DISK_3channel ORA_DISK_3: sid=110 devtype=DISKchannel ORA_DISK_1: starting full datafile backupsetchannel ORA_DISK_1: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfchannel ORA_DISK_1: starting piece 1 at 01-FEB-15channel ORA_DISK_2: starting full datafile backupsetchannel ORA_DISK_2: specifying datafile(s) in backupsetinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel ORA_DISK_2: starting piece 1 at 01-FEB-15channel ORA_DISK_1: finished piece 1 at 01-FEB-15piece handle=/home/oracle/disk1/user_bs_DB011173.bkp tag=TAG20150201T162040 comment=NONEchannel ORA_DISK_1: backup set complete, elapsed time: 00:00:01channel ORA_DISK_2: finished piece 1 at 01-FEB-15piece handle=/home/oracle/disk2/user_bs_DB011174.bkp tag=TAG20150201T162040 comment=NONEchannel ORA_DISK_2: backup set complete, elapsed time: 00:00:01Finished backup at 01-FEB-15RMAN> show all;RMAN configuration parameters are:CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # defaultCONFIGURE BACKUP OPTIMIZATION OFF; # defaultCONFIGURE DEFAULT DEVICE TYPE TO DISK; # defaultCONFIGURE CONTROLFILE AUTOBACKUP OFF;CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # defaultCONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT   '/home/oracle/disk1/user_bs_%d%p%s.bkp';CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT   '/home/oracle/disk2/user_bs_%d%p%s.bkp';CONFIGURE MAXSETSIZE TO UNLIMITED; # defaultCONFIGURE ENCRYPTION FOR DATABASE OFF; # defaultCONFIGURE ENCRYPTION ALGORITHM 'AES128'; # defaultCONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # defaultCONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # default run{allocate channel c5 DEVICE TYPE DISK format '/home/oracle/disk/same_bs_%d%p%s.bkp';2> backup tablespace DTFILETS;}released channel: ORA_DISK_1released channel: ORA_DISK_2released channel: ORA_DISK_3allocated channel: c5channel c5: sid=116 devtype=DISKStarting backup at 01-FEB-15channel c5: starting full datafile backupsetchannel c5: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel c5: starting piece 1 at 01-FEB-15channel c5: finished piece 1 at 01-FEB-15piece handle=/home/oracle/disk/same_bs_DB011175.bkp tag=TAG20150201T162200 comment=NONEchannel c5: backup set complete, elapsed time: 00:00:01Finished backup at 01-FEB-15released channel: c5RMAN> configure channel 1 type disk clear;RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-00558: error encountered while parsing input commandsRMAN-01009: syntax error: found "type": expecting one of: "device"RMAN-01007: at line 1 column 21 file: standard inputRMAN> configure channel 1 device type disk clear;old RMAN configuration parameters:CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT   '/home/oracle/disk1/user_bs_%d%p%s.bkp';old RMAN configuration parameters are successfully deletedRMAN> configure channel 2 device type disk clear;old RMAN configuration parameters:CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT   '/home/oracle/disk2/user_bs_%d%p%s.bkp';old RMAN configuration parameters are successfully deletedRMAN> show all;RMAN configuration parameters are:CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # defaultCONFIGURE BACKUP OPTIMIZATION OFF; # defaultCONFIGURE DEFAULT DEVICE TYPE TO DISK; # defaultCONFIGURE CONTROLFILE AUTOBACKUP OFF;CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # defaultCONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # defaultCONFIGURE MAXSETSIZE TO UNLIMITED; # defaultCONFIGURE ENCRYPTION FOR DATABASE OFF; # defaultCONFIGURE ENCRYPTION ALGORITHM 'AES128'; # defaultCONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # defaultCONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # defaultRMAN> run{allocate channel c5 DEVICE TYPE DISK;2> backup tablespace DTFILETS;}allocated channel: c5channel c5: sid=116 devtype=DISKStarting backup at 01-FEB-15channel c5: starting full datafile backupsetchannel c5: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel c5: starting piece 1 at 01-FEB-15channel c5: finished piece 1 at 01-FEB-15piece handle=/u01/oracle/11G/dbs/5gpu6nop_1_1 tag=TAG20150201T162352 comment=NONEchannel c5: backup set complete, elapsed time: 00:00:01Finished backup at 01-FEB-15released channel: c5RMAN>  run{allocate channel c5 DEVICE TYPE DISK format '/home/oracle/disk/same_bs_%d%p%s.bkp';2> backup tablespace DTFILETS;}allocated channel: c5channel c5: sid=116 devtype=DISKStarting backup at 01-FEB-15channel c5: starting full datafile backupsetchannel c5: specifying datafile(s) in backupsetinput datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbfinput datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbfchannel c5: starting piece 1 at 01-FEB-15channel c5: finished piece 1 at 01-FEB-15piece handle=/home/oracle/disk/same_bs_DB011177.bkp tag=TAG20150201T162406 comment=NONEchannel c5: backup set complete, elapsed time: 00:00:01Finished backup at 01-FEB-15released channel: c5RMAN> 




0 0
原创粉丝点击