putukas
ADSM.ORG Member
- Joined
- Aug 10, 2006
- Messages
- 41
- Reaction score
- 1
- Points
- 0
- Location
- Estonia, Tallinn
- Website
- Visit site
Hello,
We have problem where RMAN is not deleting old backups from TSM db.
TSM server version 6.1.3
TDP client 5.3
Here's the RMAN script which is runned every day. Also we have archive logs backup running once per hour.
run {
allocate channel t1 type 'sbt_tape' PARMS 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
backup
format 'df_%t_%s_%p_%u_%c'
(database);
backup archivelog all delete all input format 'af_%t_%s_%p';
backup current controlfile format 'cf_%d_%u';
backup spfile;
release channel t1;
}
allocate channel for maintenance device type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
crosscheck backup;
delete noprompt expired backup;
delete noprompt obsolete;
crosscheck archivelog all;
delete noprompt expired archivelog all;
release channel;
TSM info:
vere=no limit, verd=0 rete=7 ret=0 backupdelete=yes
we want to keep RMAN backups for 7 day.
Anyone seeing anything wrong about this? Strange thing is that oracle dba is saying that he can see 7 day backups from RMAN. But i can see alot of old backups not deleted in tsm db. So DBA is saying theres something wrong with TSM and im saying theres something wrong with RMAN
oracle dba is using "allocate channel for maintenance" to delete backups but IBM manual says "allocate channel for delete" oracle dba is saying it doesnt matter and if it does hes demanding explanation from me.
Thank you!
We have problem where RMAN is not deleting old backups from TSM db.
TSM server version 6.1.3
TDP client 5.3
Here's the RMAN script which is runned every day. Also we have archive logs backup running once per hour.
run {
allocate channel t1 type 'sbt_tape' PARMS 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
backup
format 'df_%t_%s_%p_%u_%c'
(database);
backup archivelog all delete all input format 'af_%t_%s_%p';
backup current controlfile format 'cf_%d_%u';
backup spfile;
release channel t1;
}
allocate channel for maintenance device type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
crosscheck backup;
delete noprompt expired backup;
delete noprompt obsolete;
crosscheck archivelog all;
delete noprompt expired archivelog all;
release channel;
TSM info:
vere=no limit, verd=0 rete=7 ret=0 backupdelete=yes
we want to keep RMAN backups for 7 day.
Anyone seeing anything wrong about this? Strange thing is that oracle dba is saying that he can see 7 day backups from RMAN. But i can see alot of old backups not deleted in tsm db. So DBA is saying theres something wrong with TSM and im saying theres something wrong with RMAN
oracle dba is using "allocate channel for maintenance" to delete backups but IBM manual says "allocate channel for delete" oracle dba is saying it doesnt matter and if it does hes demanding explanation from me.
Thank you!