<pre name="code" class="sql">RMAN> show
2> all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE 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; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # default
RMAN>
RMAN> backup tablespace DTFILETS;
Starting backup at 01-FEB-15
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=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
channel ORA_DISK_1: starting piece 1 at 01-FEB-15
channel ORA_DISK_2: starting full datafile backupset
channel ORA_DISK_2: specifying datafile(s) in backupset
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel ORA_DISK_2: starting piece 1 at 01-FEB-15
channel ORA_DISK_2: finished piece 1 at 01-FEB-15
piece handle=/home/oracle/disk2/user_bs_DB011150.bkp tag=TAG20150201T153459 comment=NONE
channel ORA_DISK_2: backup set complete, elapsed time: 00:00:02
channel ORA_DISK_1: finished piece 1 at 01-FEB-15
piece handle=/home/oracle/disk1/user_bs_DB011149.bkp tag=TAG20150201T153459 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:05
Finished backup at 01-FEB-15
RMAN>
清除之前设置的通道信息
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE<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; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # default
RMAN> 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 deleted
released channel: ORA_DISK_1
released channel: ORA_DISK_2
released channel: ORA_DISK_3
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
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; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # default
RMAN> 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 deleted
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/home/oracle/disk2/same_bs_%d%p%s.bkp';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # default
RMAN> 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 deleted
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # default
RMAN>
的确清空了通道设置。
再次备份表空间,查看系统默认备份地址:
RMAN> backup tablespace DTFILETS;
Starting backup at 01-FEB-15
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=126 devtype=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid=133 devtype=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: sid=132 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
channel ORA_DISK_1: starting piece 1 at 01-FEB-15
channel ORA_DISK_2: starting full datafile backupset
channel ORA_DISK_2: specifying datafile(s) in backupset
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel ORA_DISK_2: starting piece 1 at 01-FEB-15
channel ORA_DISK_1: finished piece 1 at 01-FEB-15
piece handle=/u01/oracle/11G/dbs/4npu6lmq_1_1 tag=TAG20150201T154842 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
channel ORA_DISK_2: finished piece 1 at 01-FEB-15
piece handle=/u01/oracle/11G/dbs/4opu6lmq_1_1 tag=TAG20150201T154842 comment=NONE
channel ORA_DISK_2: backup set complete, elapsed time: 00:00:01
Finished backup at 01-FEB-15
RMAN> <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; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # default
RMAN> run{allocate channel c5 DEVICE TYPE DISK;
2> backup tablespace DTFILETS;}
allocated channel: c5
channel c5: sid=116 devtype=DISK
Starting backup at 01-FEB-15
channel c5: starting full datafile backupset
channel c5: specifying datafile(s) in backupset
input datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel c5: starting piece 1 at 01-FEB-15
channel c5: finished piece 1 at 01-FEB-15
piece handle=<span style="color:#cc0000;">/u01/oracle/11G/dbs/</span>5gpu6nop_1_1 tag=TAG20150201T162352 comment=NONE
channel c5: backup set complete, elapsed time: 00:00:01
Finished backup at 01-FEB-15
released channel: c5
RMAN> 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: c5
channel c5: sid=116 devtype=DISK
Starting backup at 01-FEB-15
channel c5: starting full datafile backupset
channel c5: specifying datafile(s) in backupset
input datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel c5: starting piece 1 at 01-FEB-15
channel c5: finished piece 1 at 01-FEB-15
piece handle=/home/oracle/disk/same_bs_DB011177.bkp tag=TAG20150201T162406 comment=NONE
channel c5: backup set complete, elapsed time: 00:00:01
Finished backup at 01-FEB-15
released channel: c5
RMAN>
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 commands
RMAN-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 input
RMAN> run{allocate channel c5 DEVICE TYPE DISK;
2> backup tablespace DTFILETS;}
allocated channel: c5
channel c5: sid=116 devtype=DISK
Starting backup at 01-FEB-15
channel c5: starting full datafile backupset
channel c5: specifying datafile(s) in backupset
input datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel c5: starting piece 1 at 01-FEB-15
channel c5: finished piece 1 at 01-FEB-15
piece handle=/u01/oracle/11G/dbs/5cpu6ni6_1_1 tag=TAG20150201T162022 comment=NONE
channel c5: backup set complete, elapsed time: 00:00:01
Finished backup at 01-FEB-15
released channel: c5
RMAN> 注意手动分配通道的时候 纯数字不可以的
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 commands
RMAN-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 input
RMAN>
----------------------------------------下面是各种细节,自己看吧,没什么大用-------------------------------------
[oracle@MasterHadoop50 backupset]$ rman target /
Recovery Manager: Release 10.2.0.1.0 - Production on Sun Feb 1 16:01:41 2015
Copyright (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 catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=116 devtype=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid=111 devtype=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: sid=110 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of crosscheck command at 02/01/2015 16:01:49
RMAN-20230: datafile copy not found in the recovery catalog
RMAN-06015: error while looking up datafile copy name: /tmp/controlfile.ctl
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # default
RMAN> /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 commands
RMAN-01006: error signalled during parse
RMAN-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 commands
RMAN-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 input
RMAN> backup tablespace DTFILETS;}
Starting backup at 01-FEB-15
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=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
channel ORA_DISK_1: starting piece 1 at 01-FEB-15
channel ORA_DISK_2: starting full datafile backupset
channel ORA_DISK_2: specifying datafile(s) in backupset
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel ORA_DISK_2: starting piece 1 at 01-FEB-15
channel ORA_DISK_1: finished piece 1 at 01-FEB-15
piece handle=/u01/oracle/11G/dbs/4rpu6mo1_1_1 tag=TAG20150201T160625 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
channel ORA_DISK_2: finished piece 1 at 01-FEB-15
piece handle=/u01/oracle/11G/dbs/4spu6mo1_1_1 tag=TAG20150201T160625 comment=NONE
channel ORA_DISK_2: backup set complete, elapsed time: 00:00:01
Finished backup at 01-FEB-15
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-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 input
RMAN>
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 commands
RMAN-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 input
RMAN> backup tablespace DTFILETS;}
Starting backup at 01-FEB-15
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=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
channel ORA_DISK_1: starting piece 1 at 01-FEB-15
channel ORA_DISK_2: starting full datafile backupset
channel ORA_DISK_2: specifying datafile(s) in backupset
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel ORA_DISK_2: starting piece 1 at 01-FEB-15
channel ORA_DISK_1: finished piece 1 at 01-FEB-15
piece handle=/u01/oracle/11G/dbs/4tpu6mpb_1_1 tag=TAG20150201T160707 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
channel ORA_DISK_2: finished piece 1 at 01-FEB-15
piece handle=/u01/oracle/11G/dbs/4upu6mpb_1_1 tag=TAG20150201T160707 comment=NONE
channel ORA_DISK_2: backup set complete, elapsed time: 00:00:03
Finished backup at 01-FEB-15
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-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 input
RMAN>
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 commands
RMAN-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 input
RMAN> backup tablespace DTFILETS;}
Starting backup at 01-FEB-15
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=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
channel ORA_DISK_1: starting piece 1 at 01-FEB-15
channel ORA_DISK_2: starting full datafile backupset
channel ORA_DISK_2: specifying datafile(s) in backupset
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel ORA_DISK_2: starting piece 1 at 01-FEB-15
channel ORA_DISK_1: finished piece 1 at 01-FEB-15
piece handle=/u01/oracle/11G/dbs/4vpu6mq6_1_1 tag=TAG20150201T160734 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
channel ORA_DISK_2: finished piece 1 at 01-FEB-15
piece handle=/u01/oracle/11G/dbs/50pu6mq6_1_1 tag=TAG20150201T160734 comment=NONE
channel ORA_DISK_2: backup set complete, elapsed time: 00:00:01
Finished backup at 01-FEB-15
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-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 input
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # default
RMAN> 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 stored
released channel: ORA_DISK_1
released channel: ORA_DISK_2
released channel: ORA_DISK_3
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 commands
RMAN-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 input
RMAN> backup tablespace DTFILETS;}
Starting backup at 01-FEB-15
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=116 devtype=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid=111 devtype=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: sid=110 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
channel ORA_DISK_1: starting piece 1 at 01-FEB-15
channel ORA_DISK_2: starting full datafile backupset
channel ORA_DISK_2: specifying datafile(s) in backupset
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel ORA_DISK_2: starting piece 1 at 01-FEB-15
channel ORA_DISK_1: finished piece 1 at 01-FEB-15
piece handle=/home/oracle/disk1/user_bs_DB011161.bkp tag=TAG20150201T160857 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
channel ORA_DISK_2: finished piece 1 at 01-FEB-15
piece handle=/u01/oracle/11G/dbs/52pu6msp_1_1 tag=TAG20150201T160857 comment=NONE
channel ORA_DISK_2: backup set complete, elapsed time: 00:00:03
Finished backup at 01-FEB-15
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-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 input
RMAN>
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 commands
RMAN-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 input
RMAN> backup tablespace DTFILETS;}
Starting backup at 01-FEB-15
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=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
channel ORA_DISK_1: starting piece 1 at 01-FEB-15
channel ORA_DISK_2: starting full datafile backupset
channel ORA_DISK_2: specifying datafile(s) in backupset
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel ORA_DISK_2: starting piece 1 at 01-FEB-15
channel ORA_DISK_1: finished piece 1 at 01-FEB-15
piece handle=/home/oracle/disk1/user_bs_DB011163.bkp tag=TAG20150201T160924 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
channel ORA_DISK_2: finished piece 1 at 01-FEB-15
piece handle=/u01/oracle/11G/dbs/54pu6mtl_1_1 tag=TAG20150201T160924 comment=NONE
channel ORA_DISK_2: backup set complete, elapsed time: 00:00:01
Finished backup at 01-FEB-15
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-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 input
RMAN> 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 stored
released channel: ORA_DISK_1
released channel: ORA_DISK_2
released channel: ORA_DISK_3
RMAN> backup tablespace DTFILETS;
Starting backup at 01-FEB-15
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=116 devtype=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid=111 devtype=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: sid=110 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
channel ORA_DISK_1: starting piece 1 at 01-FEB-15
channel ORA_DISK_2: starting full datafile backupset
channel ORA_DISK_2: specifying datafile(s) in backupset
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel ORA_DISK_2: starting piece 1 at 01-FEB-15
channel ORA_DISK_1: finished piece 1 at 01-FEB-15
piece handle=/home/oracle/disk1/user_bs_DB011165.bkp tag=TAG20150201T161127 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
channel ORA_DISK_2: finished piece 1 at 01-FEB-15
piece handle=/home/oracle/disk2/user_bs_DB011166.bkp tag=TAG20150201T161127 comment=NONE
channel ORA_DISK_2: backup set complete, elapsed time: 00:00:01
Finished backup at 01-FEB-15
RMAN>
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 commands
RMAN-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 input
RMAN> backup tablespace DTFILETS;}
Starting backup at 01-FEB-15
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=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
channel ORA_DISK_1: starting piece 1 at 01-FEB-15
channel ORA_DISK_2: starting full datafile backupset
channel ORA_DISK_2: specifying datafile(s) in backupset
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel ORA_DISK_2: starting piece 1 at 01-FEB-15
channel ORA_DISK_1: finished piece 1 at 01-FEB-15
piece handle=/home/oracle/disk1/user_bs_DB011167.bkp tag=TAG20150201T161253 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
channel ORA_DISK_2: finished piece 1 at 01-FEB-15
piece handle=/home/oracle/disk2/user_bs_DB011168.bkp tag=TAG20150201T161253 comment=NONE
channel ORA_DISK_2: backup set complete, elapsed time: 00:00:03
Finished backup at 01-FEB-15
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-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 input
RMAN> run{allocate channel c4 DEVICE TYPE DISK format '/home/oracle/disk/same_bs_%d%p%s.bkp';
2> }
released channel: ORA_DISK_1
released channel: ORA_DISK_2
released channel: ORA_DISK_3
allocated channel: c4
channel c4: sid=116 devtype=DISK
released channel: c4
RMAN>
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: c3
channel c3: sid=116 devtype=DISK
Starting backup at 01-FEB-15
channel c3: starting full datafile backupset
channel c3: specifying datafile(s) in backupset
input datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel c3: starting piece 1 at 01-FEB-15
channel c3: finished piece 1 at 01-FEB-15
piece handle=/home/oracle/disk/same_bs_DB011169.bkp tag=TAG20150201T161608 comment=NONE
channel c3: backup set complete, elapsed time: 00:00:01
Finished backup at 01-FEB-15
released channel: c3
RMAN> run{allocate channel c3 DEVICE TYPE DISK;
2> backup tablespace DTFILETS;}
allocated channel: c3
channel c3: sid=116 devtype=DISK
Starting backup at 01-FEB-15
channel c3: starting full datafile backupset
channel c3: specifying datafile(s) in backupset
input datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel c3: starting piece 1 at 01-FEB-15
channel c3: finished piece 1 at 01-FEB-15
piece handle=/u01/oracle/11G/dbs/5apu6ncm_1_1 tag=TAG20150201T161726 comment=NONE
channel c3: backup set complete, elapsed time: 00:00:01
Finished backup at 01-FEB-15
released channel: c3
RMAN> run{allocate channel 1 DEVICE 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 "integer": expecting one of: "channel_id, double-quoted-string, equal, identifier, single-quoted-string"
RMAN-01007: at line 1 column 22 file: standard input
RMAN> run{allocate channel c1 DEVICE TYPE DISK;
2> backup tablespace DTFILETS;}
allocated channel: c1
channel c1: sid=116 devtype=DISK
Starting backup at 01-FEB-15
channel c1: starting full datafile backupset
channel c1: specifying datafile(s) in backupset
input datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel c1: starting piece 1 at 01-FEB-15
channel c1: finished piece 1 at 01-FEB-15
piece handle=/u01/oracle/11G/dbs/5bpu6ndo_1_1 tag=TAG20150201T161800 comment=NONE
channel c1: backup set complete, elapsed time: 00:00:01
Finished backup at 01-FEB-15
released channel: c1
RMAN> run{allocate channel DEVICE 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 "device": expecting one of: "channel_id, double-quoted-string, equal, identifier, single-quoted-string"
RMAN-01007: at line 1 column 23 file: standard input
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE 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; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # default
RMAN> run{allocate channel 1;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-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 input
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-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 input
RMAN> run{allocate channel 4;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-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 input
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-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 input
RMAN> run{allocate channel 5;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-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 input
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-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 input
RMAN> run{allocate channel c5;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found ";": expecting one of: "device, name, type"
RMAN-01007: at line 1 column 24 file: standard input
RMAN> 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 commands
RMAN-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 input
RMAN> run{allocate channel 5 DEVICE 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 "integer": expecting one of: "channel_id, double-quoted-string, equal, identifier, single-quoted-string"
RMAN-01007: at line 1 column 22 file: standard input
RMAN> run{allocate channel c5 DEVICE TYPE DISK;
2> backup tablespace DTFILETS;}
allocated channel: c5
channel c5: sid=116 devtype=DISK
Starting backup at 01-FEB-15
channel c5: starting full datafile backupset
channel c5: specifying datafile(s) in backupset
input datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel c5: starting piece 1 at 01-FEB-15
channel c5: finished piece 1 at 01-FEB-15
piece handle=/u01/oracle/11G/dbs/5cpu6ni6_1_1 tag=TAG20150201T162022 comment=NONE
channel c5: backup set complete, elapsed time: 00:00:01
Finished backup at 01-FEB-15
released channel: c5
RMAN> backup tablespace DTFILETS;
Starting backup at 01-FEB-15
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=116 devtype=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid=111 devtype=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: sid=110 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
channel ORA_DISK_1: starting piece 1 at 01-FEB-15
channel ORA_DISK_2: starting full datafile backupset
channel ORA_DISK_2: specifying datafile(s) in backupset
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel ORA_DISK_2: starting piece 1 at 01-FEB-15
channel ORA_DISK_1: finished piece 1 at 01-FEB-15
piece handle=/home/oracle/disk1/user_bs_DB011173.bkp tag=TAG20150201T162040 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
channel ORA_DISK_2: finished piece 1 at 01-FEB-15
piece handle=/home/oracle/disk2/user_bs_DB011174.bkp tag=TAG20150201T162040 comment=NONE
channel ORA_DISK_2: backup set complete, elapsed time: 00:00:01
Finished backup at 01-FEB-15
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE 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; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE 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_1
released channel: ORA_DISK_2
released channel: ORA_DISK_3
allocated channel: c5
channel c5: sid=116 devtype=DISK
Starting backup at 01-FEB-15
channel c5: starting full datafile backupset
channel c5: specifying datafile(s) in backupset
input datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel c5: starting piece 1 at 01-FEB-15
channel c5: finished piece 1 at 01-FEB-15
piece handle=/home/oracle/disk/same_bs_DB011175.bkp tag=TAG20150201T162200 comment=NONE
channel c5: backup set complete, elapsed time: 00:00:01
Finished backup at 01-FEB-15
released channel: c5
RMAN> configure channel 1 type disk clear;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "type": expecting one of: "device"
RMAN-01007: at line 1 column 21 file: standard input
RMAN> 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 deleted
RMAN> 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 deleted
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11G/dbs/snapcf_db01.f'; # default
RMAN> run{allocate channel c5 DEVICE TYPE DISK;
2> backup tablespace DTFILETS;}
allocated channel: c5
channel c5: sid=116 devtype=DISK
Starting backup at 01-FEB-15
channel c5: starting full datafile backupset
channel c5: specifying datafile(s) in backupset
input datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel c5: starting piece 1 at 01-FEB-15
channel c5: finished piece 1 at 01-FEB-15
piece handle=/u01/oracle/11G/dbs/5gpu6nop_1_1 tag=TAG20150201T162352 comment=NONE
channel c5: backup set complete, elapsed time: 00:00:01
Finished backup at 01-FEB-15
released channel: c5
RMAN> run{allocate channel c5 DEVICE TYPE DISK format '/home/oracle/disk/same_bs_%d%p%s.bkp';
2> backup tablespace DTFILETS;}
allocated channel: c5
channel c5: sid=116 devtype=DISK
Starting backup at 01-FEB-15
channel c5: starting full datafile backupset
channel c5: specifying datafile(s) in backupset
input datafile fno=00011 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets01.dbf
input datafile fno=00012 name=/u01/oracle/oradata/db01/ts_test_me/dtfilets2.dbf
channel c5: starting piece 1 at 01-FEB-15
channel c5: finished piece 1 at 01-FEB-15
piece handle=/home/oracle/disk/same_bs_DB011177.bkp tag=TAG20150201T162406 comment=NONE
channel c5: backup set complete, elapsed time: 00:00:01
Finished backup at 01-FEB-15
released channel: c5
RMAN>