Archive log deletion after confirmation on applying on streams database.
Hi,
We have streams database.
Primary Database - Source database
Stream Database - Target database
Last day, few archive files got deleted without shipping/applying to streams database. I was under assumption that RMAN will not delete the archive files until it shipped to target.
How can I make sure archives logs on sources get deleted only after applying archives on target database.
My current script is as below:
RUN {
ALLOCATE CHANNEL ch00 TYPE 'SBT_TAPE';
BACKUP
FILESPERSET 20
FORMAT 'al_%s_%p_%t'
ARCHIVELOG ALL DELETE INPUT;
RELEASE CHANNEL ch00;
}
Thanks,
Brijesh
We have streams database.
Primary Database - Source database
Stream Database - Target database
Last day, few archive files got deleted without shipping/applying to streams database. I was under assumption that RMAN will not delete the archive files until it shipped to target.
How can I make sure archives logs on sources get deleted only after applying archives on target database.
My current script is as below:
RUN {
ALLOCATE CHANNEL ch00 TYPE 'SBT_TAPE';
BACKUP
FILESPERSET 20
FORMAT 'al_%s_%p_%t'
ARCHIVELOG ALL DELETE INPUT;
RELEASE CHANNEL ch00;
}
Thanks,
Brijesh
0