2026-03-12 21:01:38
This commit is contained in:
24
tiddlywiki/RMAN restore UNTIL TIME.txt
Executable file
24
tiddlywiki/RMAN restore UNTIL TIME.txt
Executable file
@@ -0,0 +1,24 @@
|
||||
rman target /
|
||||
|
||||
run
|
||||
{
|
||||
set until time "to_date('26-06-2019:09:00:00','DD-MM-YYYY:HH24:MI:SS')";
|
||||
shutdown abort;
|
||||
startup mount;
|
||||
allocate channel ch01 device type disk;
|
||||
allocate channel ch02 device type disk;
|
||||
allocate channel ch03 device type disk;
|
||||
allocate channel ch04 device type disk;
|
||||
allocate channel ch05 device type disk;
|
||||
allocate channel ch06 device type disk;
|
||||
allocate channel ch07 device type disk;
|
||||
allocate channel ch08 device type disk;
|
||||
allocate channel ch09 device type disk;
|
||||
allocate channel ch10 device type disk;
|
||||
allocate channel ch11 device type disk;
|
||||
allocate channel ch12 device type disk;
|
||||
restore database;
|
||||
recover database;
|
||||
alter database open resetlogs;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user