Difference between revisions of "Leo script for RMAN"
From MyWiki
(Created page with "<source lang="text"> run { allocate channel dsk1 type disk MAXPIECESIZE=5G; backup as compressed backupset incremental level 0 filesperset=4 database format '${BACKUP_LOC}/Fu...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<source lang="text"> | <source lang="text"> | ||
− | run { allocate channel dsk1 type disk MAXPIECESIZE=5G; | + | run |
+ | { | ||
+ | allocate channel dsk1 type disk MAXPIECESIZE=5G; | ||
backup as compressed backupset incremental level 0 filesperset=4 database format '${BACKUP_LOC}/FullData_%d_%T_%U'; | backup as compressed backupset incremental level 0 filesperset=4 database format '${BACKUP_LOC}/FullData_%d_%T_%U'; | ||
backup current controlfile format '${BACKUP_LOC}/Ctrl_%d_%T_%U'; | backup current controlfile format '${BACKUP_LOC}/Ctrl_%d_%T_%U'; | ||
backup current controlfile for standby format '${BACKUP_LOC}/StandbyCtrl_%d_%T_%U' ; | backup current controlfile for standby format '${BACKUP_LOC}/StandbyCtrl_%d_%T_%U' ; | ||
− | release channel dsk1; } | + | release channel dsk1; |
+ | } | ||
</source> | </source> |
Latest revision as of 11:35, 1 November 2016
run { allocate channel dsk1 type disk MAXPIECESIZE=5G; backup as compressed backupset incremental level 0 filesperset=4 database format '${BACKUP_LOC}/FullData_%d_%T_%U'; backup current controlfile format '${BACKUP_LOC}/Ctrl_%d_%T_%U'; backup current controlfile for standby format '${BACKUP_LOC}/StandbyCtrl_%d_%T_%U' ; release channel dsk1; }