Rick, I have a space problem so I manually delete the old backups and then run the CROSSCHECK BACKUP to clean up the catalog ===== this is done as as script that I run TH=$PATH:$HOME/bin:/home/oracle/OraHome1/bin export PATH ORACLE_HOME=/home/oracle/OraHome1 export ORACLE_HOME ORACLE_BASE=/home/oracle/OraHome1 export ORACLE_BASE LD_LIBRARY_PATH=$ORACLE_HOME/lib ORACLE_SID=lnxdb export LD_LIBRARY_PATH ORACLE_SID TNS_ADMIN=/home/oracle/OraHome1/network/admin export TNS_ADMIN export LD_ASSUME_KERNEL=2.2.5 echo "Start Backup:" >/xxxxxprd/rman_lev0.log echo `date` >> /xxxxxprd/rman_del.log /home/oracle/OraHome1/bin/rman <<EOF>> /xxxxxprd/rman_del.log connect target "sys/xxxxx@xxxxxprd-tcp" connect catalog rman817/rman817@xxxxxrman-tcp allocate channel for maintenence type disk; crosscheck backup; release channel; allocate channel for maintenence type disk; delete expired backup; release channel; allocate channel for maintenence type disk; list backup; release channel; exit =============== Ron >>> RStephenson@xxxxxxxx 02/27/2004 2:09:05 PM >>> I already read that script, but I don't understand how it knows that I want to keep 90 days of retention for my backups. I'm sorry if I am missing something. Thanks, Rick Stephenson _____ From: Bobak, Mark [mailto:Mark.Bobak@xxxxxxxxxxxxxxx] Sent: Friday, February 27, 2004 11:14 AM To: oracle-l@xxxxxxxxxxxxx Subject: RE: Rman 8i vs 9i question - delete obsolete Rick, Check out $ORACLE_HOME/rdbms/demo/rman1.sh for an example. -Mark -----Original Message----- From: Rick Stephenson [mailto:RStephenson@xxxxxxxx] Sent: Friday, February 27, 2004 1:07 PM To: Oracle ListServ (oracle-l@xxxxxxxxxxxxx) Subject: Rman 8i vs 9i question - delete obsolete In 9i rman I can set the retention policy to whatever I want and delete all obsolete backups based on that setting. I cannot find, however, a similar feature for 8i rman. Is there a way to set this, and if not, how does rman determine what an obsolete backup is? Thanks, Rick Stephenson ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx put 'unsubscribe' in the subject line. -- Archives are at //www.freelists.org/archives/oracle-l/ FAQ is at //www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------