Guest User

Untitled

a guest
Aug 7th, 2017
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. run {
  2. allocate channel c1 device type disk;
  3. allocate channel c2 device type disk;
  4. allocate channel c3 device type disk;
  5. backup as compressed backupset incremental level 0 database format '\\PATH\data_%Y_%M_%D.%U';
  6. backup as compressed backupset archivelog all delete all input format '\\PATH\archive_logs_%Y_%M_%D.%U';
  7. backup as compressed backupset current controlfile format '\\PATH\control_files_%Y_%M_%D.%U';
  8. backup as compressed backupset spfile format '\\PATH\spfile_%Y_%M_%D.%U';
  9. CROSSCHECK BACKUP;
  10. delete noprompt obsolete recovery window of 0 days;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment