2.
Start the datafile restore and recovery:
• If the database is in an open state, the script to restore the datafile should
have the following format:
UNIX
For a non-ZDB or ZDB backup set session:
run{
allocate channel dev1 type 'sbt_tape' parms
'SBT_LIBRARY=/opt/omni/lib/libob2oracle8.so,
ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=
DB_NAME
)';
sql "alter database datafile
''/opt/oracle/data/oradata/DATA/temp01.dbf'' offline";
restore datafile
'/opt/oracle/data/oradata/DATA/temp01.dbf';
recover datafile
'/opt/oracle/data/oradata/DATA/temp01.dbf';
sql "alter database datafile
'/opt/oracle/data/oradata/DATA/temp01.dbf' online";
release channel dev1;
}
For a ZDB proxy-copy session, allocate one channel for restoring proxy-copy
sessions and one channel for database recovery. Release the proxy-copy
channel before the recovery:
run{
allocate channel dev1 type 'sbt_tape' parms
'SBT_LIBRARY=/opt/omni/lib/libob2oracle8.so,
ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=
DB_NAME
)';
allocate channel dev2 type 'sbt_tape' parms
'SBT_LIBRARY=/opt/omni/lib/libob2oracle8.so,
ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=
DB_NAME
, OB2PROXYCOPY=1)';
sql "alter database datafile
''/opt/oracle/data/oradata/DATA/temp01.dbf'' offline";
restore datafile
'/opt/oracle/data/oradata/DATA/temp01.dbf';
release channel dev2;
recover datafile
'/opt/oracle/data/oradata/DATA/temp01.dbf';
sql "alter database datafile
'/opt/oracle/data/oradata/DATA/temp01.dbf' online";
release channel dev1;
}
Windows
Data Protector Oracle ZDB integration
132
Содержание Data Protector A.06.11
Страница 18: ...Publication history 18 ...
Страница 83: ...Figure 21 EVA backup options Click Next Zero downtime backup integration guide 83 ...
Страница 85: ...Figure 22 Specifying an Oracle Server system Windows Zero downtime backup integration guide 85 ...
Страница 197: ...Figure 49 XP backup options Zero downtime backup integration guide 197 ...
Страница 198: ...Figure 50 VA backup options Data Protector SAP R 3 ZDB integration 198 ...
Страница 199: ...Figure 51 EVA backup options Click Next Zero downtime backup integration guide 199 ...
Страница 242: ...Data Protector SAP R 3 ZDB integration 242 ...
Страница 256: ...Figure 68 Selecting a snapshot backup Click OK Data Protector Microsoft SQL Server ZDB integration 256 ...
Страница 315: ...1 In the Context List select Restore Zero downtime backup integration guide 315 ...
Страница 328: ...Data Protector Microsoft Exchange Server ZDB integration 328 ...
Страница 363: ...3 Right click MS Volume Shadow Copy Writers and click Add Backup Zero downtime backup integration guide 363 ...
Страница 428: ...Figure 122 Oracle proxy copy ZDB and restore concepts when the ZDB_ORA_INCLUDE_CF_OLF variable is set to 1 Appendix 428 ...
Страница 432: ...Appendix 432 ...
Страница 490: ...Glossary 490 ...