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...") |
|||
| 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'; | ||
Revision as of 11:34, 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; }