RMAN Archived Redo Log Files Backup
Published by : Obay Salah , November 19, 2024
RUN{ ALLOCATE CHANNEL D1 DEVICE TYPE DISK; ALLOCATE CHANNEL D2 DEVICE TYPE DISK; ALLOCATE CHANNEL D3 DEVICE TYPE DISK; BACKUP AS copy archivelog all DELETE ALL INPUT; }
We created a backup copy of all the archive files and then deleted the files after copying them because we do not need them now.
Whenever we need them, we will find them in the backup files. Note that we made a backup copy of all the archive files.
You can create a backup copy of the archive files that you need.
RMAN> RUN{ ALLOCATE CHANNEL D1 DEVICE TYPE DISK; ALLOCATE CHANNEL D2 DEVICE TYPE DISK; ALLOCATE CHANNEL D3 DEVICE TYPE DISK; BACKUP AS copy Archivelog until sequence 130; }
You can display information about the backup copies of the ARCHIVELOG files using the command:
LIST COPY OF ARCHIVELOG ALL
This will show information about all backup copies of the ARCHIVELOG files of the type Image Copy.
You can also display information about the backup copies of specific ARCHIVELOG files.
RMAN>LIST COPY OF ARCHIVELOG UNTIL SEQUENCE 130;
Comments
no comment yet!