Command Options for BRRECOVER
This section describes the command options for the BRRECOVER tool.
If you use BRRECOVER with command options, these override the corresponding values in the initialization profile init<DBSID>.sap. To use the options, you can specify either letter indicated or the complete word.
The syntax of a BRRECOVER command is:
Example
brrecover -t complete -p initGC2.sap
Syntax
-
brrecover
-
[-a|-tsp|-tablespace <tsp_name>|<tsp_name_list>]
-
[-b|-backup [<log_name>|last]]
-
[-c|-confirm [force]]
-
[-d|-device tape|tape_auto|tape_box|pipe|pipe_auto|pipe_box|disk|stage|util|util_file|util_vol|rman_util| rman_disk|rman_stage|rman]
-
[-e|-degree <number>]
-
[-g|-scn|-change <scn>]
-
[-h|-help [version]]
-
[-i|-interval <days>]
-
[-j|-ins|-instance <inst_name>]
-
[-l|-language E|D]
-
[-m|-pit|-time <yyy-mm-dd hh-mi-ss>]
-
[-n|-seq|-sequence <seq_nr>]]
-
[-n1|-seq1|-sequence1 <seq_nr>]]
-
[-p|-profile <profile>]
-
[-r|-parfile <parfile>]
-
[-s|-scroll <lines>]
-
[-t|-type complete|dbpit|tspit|reset|restore|apply|disaster]
-
[-u|-user [<user>[/<password>]]|/]
-
[-w|-own|-owner <own_name>|<own_name_list>]
-
[-V|-VERSION [ALL]]
参考:https://help.sap.com/saphelp_nwpi711/helpdata/en/46/ab9acaba0b62dbe10000000a1553f7/frameset.htm
例如:
brrestore -m full -b bfaunylc.ffd -d disk
上述语句用于恢复系统。bfaunylc.ffd表示数据库日志,ffd结尾表示离线的全备份文件,