(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
Query V$SESSION to see channels<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
RMAN> run { <br>2> allocate channel d1 type disk <br>3> format 'c:\oracle\backup\%d.%T.%s.%p'; <br>4> backup tablespace tools; } <br> <br>allocated channel: d1 <br>channel d1: sid=16 devtype=DISK <br> <br>Starting backup at 23-MAY-05<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
SELECT sid, serial#, username FROM v$session; <br> <br> SID SERIAL# USERNAME <br>---------- ---------- ------------ <br> ... <br> 7 1 <br> 8 332 SYS <br> 11 50 SYSTEM <br> 12 299 SYS <br> 13 9 SYS<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
RMAN> run { <br>2> allocate channel d1 type disk <br>3> format 'c:\oracle\backups\%d.%s.%p' ; <br>4> allocate channel d2 type disk <br>5> format 'c:\oracle\backups\%d.%s.%p'; <br>6> backup database tag='july14a'; } <br> <br>using target database controlfile instead of recovery ca <br>allocated channel: d1 <br>channel d1: sid=18 devtype=DISK <br> <br>allocated channel: d2 <br>channel d2: sid=16 devtype=DISK<br>Tag can be used in RMAN commands<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
run { <br>allocate channel d1 type disk <br>format 'c:\oracle\backups\weekly_level_0.%d.%T.%s'; <br>allocate channel d2 type disk <br>format 'c:\oracle\backups\weekly_level_0.%d.%T.%s'; <br>allocate channel d3 type disk <br>format 'c:\oracle\backups\weekly_level_0.%d.%T.%s'; <br>backup incremental level 0 TAG 'Weekly Level 0' database filesperset 2; <br>}<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
RMAN> backup database;<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
RMAN> SHOW ALL; <br>CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default <br>CONFIGURE DEVICE TYPE DISK PARALLELISM 1; # default<br>Excerpt from SHOW ALL command output<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
RMAN> configure default device type to disk; <br>RMAN> configure device type disk parallelism 2; <br>RMAN> configure channel 1 device type disk format '/opt/backup/%U'; <br>RMAN> configure channel 2 device type disk format '/opt/backup/%U';<br>CONFIGURE DEFAULT DEVICE TYPE clear; <br>CONFIGURE DEVICE TYPE DISK clear;<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).