Difference between revisions of "Leo script for RMAN"
From MyWiki
| Line 2: | Line 2: | ||
run | run | ||
| − | { allocate channel dsk1 type disk MAXPIECESIZE=5G; | + | { |
| + | 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;
}