Repository navigation
18. Incomplete Restoreation and write a automatic backup script
Sayan Bhattacharya edited this page Jul 11, 2026
·
8 revisions
Incomplete recovery means suppose we create a table at 1.00 pm time, and anyhow my table deleted at 1.15PM. But that table was importent and i want that table get back, so we restore the database until 1.00 pm when my table was not affected and recover.
Open database server > SQL > create a user on a tablespace and grant the session , table to that user.
run { set until time "to_date('11-07-2026 13:00:00','dd-mm-yyyy hh24:mi:ss')"; >restore database; > recover database: } [ automatic restore and recover till that time ]
run { set until scn 563245"; >restore database; > recover database: } [ automatic restore and recover till that time ]