You are on page 1of 1

BACKUP DATABASE MAXSETSIZE = 10M; CONFIGURE CHANNEL DEVICE TYPE DISK MAXPIECESIZE = 2G; run { recover copy of database

with tag 'image_copy_incr_update' until time 'sysdate - 3'; backup incremental level 1 tag 'level_1_for_image_copy_update' for recover of copy with tag 'image_copy_incr_update' database ; }

run { allocate channel ch1 type disk format 'c:\1/%U'; allocate channel ch2 type disk mAXPIECESIZE= 250m format 'd:\1/%U'; backup as copy database; release channel ch1; release channel ch2; }

run { sql "alter system archive log current"; allocate channel backup_disk1 type disk format 'c:\1/%U'; allocate channel backup_disk2 type disk format 'd:\2/%U'; backup as compressed backupset database include current controlfile; release channel backup_disk1; release channel backup_disk2; sql "alter system archive log current"; }

You might also like