Command Options for BRBACKUP

10 篇文章 7 订阅

Command Options for BRBACKUP

This section describes the command options for BRBACKUP. If you start BRBACKUP without command options, the values in the Initialization Profile init<DBSID>.sap are used. Unless otherwise specified in the initialization profile init<DBSID>.sap, BRBACKUP starts an offline complete backup to a local tape device, with a storage capacity of 1200 MB and no file compression.

For more information about features common to both tools, see Common Features of BRBACKUP and BRARCHIVE.

If you use BRBACKUP with command options, these override the corresponding values in the initialization profile. To use the options, you can specify either the letter indicated or the complete word.

This is the full command syntax:

 Syntax

  1. brbackup
  2. [-a|-archive [<bra_options>]]
  3. [-b|-backup <log_name>|last [-bd|-backup_delete <log_name>|last]
  4. [-c|-confirm [force]]
  5. [-d|-device tape|disk|pipe|disk_copy|disk_standby|tape_auto|pipe_auto|tape_box|pipe_box|util_file| util_file_online|util_vol|util_vol_online|stage|stage_copy|stage_standby|rman_prep|rman_util|rman_disk|rman_stage]
  6. [-db|-delete_backup <log_name>|last]
  7. [-e|-execute <number>]
  8. [-f|-fillup <log name1>[<log name2>,..]|<yyyy-mo-dd hh.mi.ss|<days>|last]
  9. [-h|-help [version]]
  10. [-i|-initialize [force|show]]
  11. [-k|-compress no|yes|hardware|only]
  12. [-l|-language E|D]
  13. [-m|-mode all|all_data|full|incr|<tablespace_name>|<file_ID>|<file_ID1>-<file_ID2>|<generic_path>|<object list>]|sap_dir|ora_dir|all_dir|partial|non_db]
  14. [-n|-number <number of tapes>]
  15. [-o|-output dist|time[,time|dist]]
  16. [-p|-profile <profile>]
  17. [-q|-query [check|nolog|split]]
  18. [-r|-parfile <parameter_file>]
  19. [-s|-saveset 1|2|3|4|tsp|all]
  20. [-t|-type online|online_cons|offline|offline_force|offline_standby|offline_stop|online_split|offline_split| online_mirror|offline_mirror|online_standby|offstby_split|offstby_mirror]
  21. [-u|-user [<user>[/<password>]]]
  22. [-v|-volume <volume>|<volume list>|SCRATCH]
  23. [-w|-verify [use_dbv|only_dbv|only_conf|use_rmv|only_rmv]]
  24. [-V|-VERSION [ALL]]

参考:https://help.sap.com/saphelp_nwpi711/helpdata/en/46/ab9acaba0b62dbe10000000a1553f7/frameset.htm

 

例如:

备份时使用的CMD命令(也可制作为Bat文件)为:
D:\usr\sap\PRD\SYS\exe\uc\NTAMD64\brbackup.exe -p initPRD.sap -u system/manager1 -d disk -t offline_force -m full -k yes -c


命令选项解释:
-m:备份模式
-m:-mode  all|all_data|full|incr|<tablespace_name>|<file_ID>|
-t :   备份类型
-t:-type online|online_cons|offline|offline_force|offline_standby|offline_stop|online_split|offline_split|online_mirror|offline_mirror|online_standby|offstby_split|offstby_mirror]
-c:-confirm [force],确认
-u:-user [<user>[/<password>]]
-d:-device tape|disk|pipe|disk_copy|disk_standby|tape_auto|
-k:-compress no|yes|hardware|only|
-v:-volume <volume>|<volume list>|SCRATCH]
-p:-profile <profile>

需要了解SAP服务器上初始配置文件init<DBSID>.sap如果将BRBACKUP与命令选项一起使用,则这些命令将覆盖初始化配置文件(我的文件名是:initPRD.sap)中的相应值。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值