Professional Documents
Culture Documents
FROM
UNIX
COMMAND
As per above screenshot we are having archivelogs backup of last 10 days. And
/orabackup is getting full. We can delete archivelogs backup of older than 2 days using
below command.
Queston 3 :- How do we make sure that whatever RMAN Backup has been completed
that is valid backup to do restore.
Answer :- ADSC_BACKUP script is validating each H* backup after taking backup. All validation
has been stored in logfile /orabackup/$SID/rman_log/H*_$DATE_$TIME/
$SID_rmanvalidate.txt. If this logfile does not show any error means our RMAN backup is
valid.
RMAN is getting archivelog details from Data Dictionary Views. We used unix command to
compress file that means data dictionary view still show that we need to take backup of
apsgpxy_0001_0000001272_0763634467.arc and
apsgpxy_0001_0000001275_0763634467.arc. When RMAN will try to find those files in
unix, Both files will not present and backup will fail. To avoid this situation we need to
clear compressed/deleted archivelogs entry from data dictionary views using below
command.
Question 5 :- What to do if someone has deleted rman backup from unix command.
Answer :- You need to follow the same steps like we used in question 4. Command will change
as below. Crosscheck command will verify backup with data dictionaries. And Delete
expired backup command will clear data dictionary entries for removed backups. You can
see screenshots below.