var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Scripting recover until cancel
I want to restore an hot backup just after the backup (clone database).
When i do the "recover database using backup controlfile until cancel" on sqlplus manually, it works good : <RET> to the first archivelog and <cancel> to the second.
Now how can i do that in a shell script ? How can i submit the two answers to sqlplus ?
Is there anybody who do a "recover database using backup controlfile until cancel" in a script ? How ?
Use Oracle's syntax, not sqlplus.. that is, use
and then you can submit cancel as
alter database recover using backup controlfile until cancel;
alter database recover cancel;