19 lines
866 B
Plaintext
Executable File
19 lines
866 B
Plaintext
Executable File
rman target /
|
|
|
|
run
|
|
{
|
|
set nocfau;
|
|
allocate channel ch01 device type disk format '/mnt/yavin4/tmp/_oracle_/orabackup/ASTY/%d_%U_%s_%t.bck';
|
|
allocate channel ch02 device type disk format '/mnt/yavin4/tmp/_oracle_/orabackup/ASTY/%d_%U_%s_%t.bck';
|
|
allocate channel ch03 device type disk format '/mnt/yavin4/tmp/_oracle_/orabackup/ASTY/%d_%U_%s_%t.bck';
|
|
allocate channel ch04 device type disk format '/mnt/yavin4/tmp/_oracle_/orabackup/ASTY/%d_%U_%s_%t.bck';
|
|
backup as compressed backupset incremental level 0 database section size 2G include current controlfile plus archivelog delete input;
|
|
release channel ch01;
|
|
release channel ch02;
|
|
release channel ch03;
|
|
release channel ch04;
|
|
allocate channel ch01 device type disk format '/mnt/yavin4/tmp/_oracle_/orabackup/ASTY/%d_%U_%s_%t.controlfile';
|
|
backup current controlfile;
|
|
release channel ch01;
|
|
}
|