DB is restored fine. When I do an incomplete recovery, it only allows me to bring up the db when I apply the current online redolog. Can any of you gurus please tell me why?
allocate channel d1 type disk;
backup full database format '/opt/controlm/backup/db%n%s%t.dmp';
copy current controlfile to '/opt/controlm/backup/control_bck_hot.ctl';
sql 'alter system archive log current';
backup skip inaccessible archivelog all delete input format '/opt/controlm/backup/arch%n%s%t
release channel d1;