Can advise on the syntax to perform rman backup of archive logs generated in last 2 days?
Should it be 1 or 2?
1. BACKUP ARCHIVELOG UNTIL TIME 'SYSDATE-2';
2. BACKUP ARCHIVELOG FROM TIME 'SYSDATE-2';
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
Run the commands and see what RMAN does -- it will show you which files it runs a backup of !
look up the documentation
Hemant K Chitale