This discussion is archived
2 Replies Latest reply: Jan 20, 2013 5:48 PM by Hemant K Chitale RSS

rman backup archive log

user88831 Newbie
Currently Being Moderated
Hi Guys,

Can advise on the syntax to perform rman backup of archive logs generated in last 2 days?

Should it be 1 or 2?

thanks!

1. BACKUP ARCHIVELOG UNTIL TIME 'SYSDATE-2';

2. BACKUP ARCHIVELOG FROM TIME 'SYSDATE-2';
  • 1. Re: rman backup archive log
    damorgan Oracle ACE Director
    Currently Being Moderated
    What prevents you from trying both?

    I'm not trying to be difficult here but why take the time to ask people in a forum, not even supplying a version number, and not just find out?

    It took me less than 60 seconds to cut-and-paste both of your command lines into RMAN and look at the output.

    Edited by: damorgan on Jan 19, 2013 4:11 PM
  • 2. Re: rman backup archive log
    Hemant K Chitale Oracle ACE
    Currently Being Moderated
    Run the commands and see what RMAN does -- it will show you which files it runs a backup of !

    OR

    look up the documentation
    http://docs.oracle.com/cd/E11882_01/backup.112/e10643/toc.htm


    Hemant K Chitale

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points