Database Backup and Recovery (MOSC)

MOSC Banner

Backup archive until time with curent date auto !

edited Nov 23, 2011 8:41PM in Database Backup and Recovery (MOSC) 2 commentsAnswered
 Hi,
  I use RMAN script to backup archivelogs:

     backup format '/archive/xbank_%t_%s.arcbk' archivelog until time "to_date('2011-11-22:11:30:00','YYYY-MM-DD:hh24:mi:ss')" delete input;
   
  But now, I don't want every backup I must open this script and edit time (ex: 2011-11-22 to 2011-11-23, ...etc...). How I can backup archivelog every day with scheduler from 7h AM to 10h AM every day but not edit current date ?

  Thanks
   

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center