Oracle Rman Delete archivelog file older than N-day

** Myself
rman target /
run{ 
allocate channel D1 type disk; 
delete noprompt archivelog until time 'SYSDATE-<N>';  
release channel D1; 
} ;

Example 2 day
run{ 
allocate channel D1 type disk; 
delete noprompt archivelog until time 'SYSDATE-2';  
release channel D1; 
} ;

0 comments:

Loading