sap使用DB13和brtools發起oracle資料庫備份
sap版本:erp6.0
sap所使用資料庫版本:oracle 11g
修改配置檔案/oracle/X01/11202/dbs/initX.sap,只需修改一下幾處,其他預設不變,其中backup_type是預設選項,真正發起時可以指定需要的選項。
backup_dev_type 選擇disk,若是nfs也選擇disk,其他的磁帶等根據需要選擇。若是nfs只需將backup_root_dir 、archive_copy_dir 後面填寫mount的NFS路徑即可
登入sap系統 使用t-code db13發起備份,備份先檢查資料庫大小以及空間是否
選擇離線全備,亦可以根據需要選擇其他選項
這時系統登入斷掉了,已經開始離線備份
進入sapbackup目錄檢視備份日誌
等待備份完成。
備份成功
db12檢視備份結果
使用brtools發起online備份,使用orax01使用者
# su - orax01
R3QAS01:orax01 1% brtools
BR0651I BRTOOLS 7.20 (27)
BR0280I BRTOOLS time stamp: 2014-08-15 12.35.44
BR0656I Choice menu 1 - please make a selection
-------------------------------------------------------------------------------
BR*Tools main menu
1 = Instance management
2 - Space management
3 - Segment management
4 - Backup and database copy
5 - Restore and recovery
6 - Check and verification
7 - Database statistics
8 - Additional functions
9 - Exit program
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------
BR0662I Enter your choice:
4 // 選擇4資料庫備份選項
BR0280I BRTOOLS time stamp: 2014-08-15 12.35.47
BR0663I Your choice: '4'
BR0280I BRTOOLS time stamp: 2014-08-15 12.35.47
BR0656I Choice menu 9 - please make a selection
-------------------------------------------------------------------------------
Backup and database copy
1 = Database backup
2 - Archivelog backup
3 - Database copy
4 - Non-database backup
5 - Backup of database disk backup
6 - Verification of database backup
7 - Verification of archivelog backup
8 - Additional functions
9 - Reset program status
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------
BR0662I Enter your choice:
1 //選擇1資料庫備份
BR0280I BRTOOLS time stamp: 2014-08-15 12.35.56
BR0663I Your choice: '1'
BR0280I BRTOOLS time stamp: 2014-08-15 12.35.56
BR0657I Input menu 15 - please enter/check input values
-------------------------------------------------------------------------------
BRBACKUP main options for backup and database copy
1 - BRBACKUP profile (profile) ....... [initX01.sap]
2 - Backup device type (device) ...... [disk]
3 # Tape volumes for backup (volume) . []
4 # BACKINT/Mount profile (parfile) .. []
5 - Database user/password (user) .... [/]
6 - Backup type (type) ............... [online]
7 # Disk backup for backup (backup) .. [no]
8 # Delete disk backup (delete) ...... [no]
9 ~ Files for backup (mode) .......... [all]
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------
BR0662I Enter your choice:
c // 檢視選項,無誤輸入c繼續,需要修改進入響應數字更改
BR0280I BRTOOLS time stamp: 2014-08-15 12.36.16
BR0663I Your choice: 'c'
BR0259I Program execution will be continued...
BR0280I BRTOOLS time stamp: 2014-08-15 12.36.16
BR0657I Input menu 16 - please enter/check input values
-------------------------------------------------------------------------------
Additional BRBACKUP options for backup and database copy
1 - Confirmation mode (confirm) ....... [yes]
2 - Query mode (query) ................ [no]
3 - Compression mode (compress) ....... [no]
4 - Verification mode (verify) ........ [no]
5 - Fill-up previous backups (fillup) . [no]
6 - Parallel execution (execute) ...... [0]
7 - Additional output (output) ........ [no]
8 - Message language (language) ....... [E]
9 - BRBACKUP command line (command) ... [-p initX01.sap -d disk -t online -m all -k no -e 0 -l E]
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------
BR0662I Enter your choice:
c //檢視選項,無誤輸入c繼續
BR0280I BRTOOLS time stamp: 2014-08-15 12.36.20
BR0663I Your choice: 'c'
BR0259I Program execution will be continued...
BR0291I BRBACKUP will be started with options '-p initX01.sap -d disk -t online -m all -k no -e 0 -l E'
BR0280I BRTOOLS time stamp: 2014-08-15 12.36.20
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c //檢視選項,無誤輸入c繼續
BR0280I BRTOOLS time stamp: 2014-08-15 12.36.22
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
###############################################################################
BR0051I BRBACKUP 7.20 (27)
BR0055I Start of database backup: beonhqsk.and 2014-08-15 12.36.22
BR0484I BRBACKUP log file: /oracle/X01/sapbackup/beonhqsk.and
BR0477I Oracle pfile /oracle/X01/112_64/dbs/initX01.ora created from spfile /oracle/X01/112_64/dbs/spfileX01.ora
BR0280I BRBACKUP time stamp: 2014-08-15 12.36.34
BR0319I Control file copy created: /oracle/X01/sapbackup/cntrlX01.dbf 20267008
BR0280I BRBACKUP time stamp: 2014-08-15 12.36.36
BR0057I Backup of database: X01
BR0058I BRBACKUP action ID: beonhqsk
BR0059I BRBACKUP function ID: and
BR0110I Backup mode: ALL
BR0077I Database file for backup: /oracle/X01/sapbackup/cntrlX01.dbf
BR0061I 41 files found for backup, total size 100459.641 MB
BR0143I Backup type: online
BR0112I Files will not be compressed
BR0130I Backup device type: disk
BR0106I Files will be saved on disk in directory: /oracle/X01/sapbackup/beonhqsk
BR0280I BRBACKUP time stamp: 2014-08-15 12.36.36
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
備份已發起,等待備份完成
配置完成
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/27771627/viewspace-1251782/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle資料庫使用rman備份指令碼Oracle資料庫指令碼
- oracle資料庫備份之exp增量備份Oracle資料庫
- 「Oracle」Oracle 資料庫備份還原Oracle資料庫
- oracle 備份資料庫,匯出資料庫Oracle資料庫
- 每天自動備份Oracle資料庫Oracle資料庫
- oracle uncatalog資料庫備份檔案Oracle資料庫
- 使用RMAN備份資料庫資料庫
- 使用Mysqldump備份和恢復MySQL資料庫MySql資料庫
- Oracle資料庫備份還原詳解XKUSOracle資料庫
- Oracle資料庫的邏輯備份工具-expdp資料泵Oracle資料庫
- 資料庫備份資料庫
- Oracle資料庫冷備和恢復Oracle資料庫
- 「MySQL」資料庫備份和還原MySql資料庫
- oracle sqldeveloper選擇性複製備份資料庫OracleSQLDeveloper資料庫
- Oracle資料庫備份、災備的23個常見問題Oracle資料庫
- 【手摸手玩轉 OceanBase 162】發起資料備份
- 使用MySQL Workbench進行資料庫備份MySql資料庫
- 資料備份 reed-solomn 庫 的使用
- Mongo 資料庫備份和恢復命令Go資料庫
- PostgreSql資料庫的備份和恢復SQL資料庫
- Mysql備份和還原資料庫-mysqldumpMySql資料庫
- mysql 資料庫 備份MySql資料庫
- 資料庫備份策略資料庫
- MongoDB資料庫備份MongoDB資料庫
- SQL SERVER備份資料庫檔案(使用SSMS)SQLServer資料庫SSM
- python使用多執行緒備份資料庫Python執行緒資料庫
- 七、許可權管理和資料庫備份資料庫
- java mysql 資料庫備份和還原操作JavaMySql資料庫
- 成為MySQL DBA後,再看ORACLE資料庫(十三、物理備份)MySqlOracle資料庫
- 資料庫備份恢復資料庫
- SQL資料庫備份管理SQL資料庫
- innobackupex 備份MySQL資料庫MySql資料庫
- 資料庫備份指令碼資料庫指令碼
- mysqlpump 資料庫備份程式MySql資料庫
- mysqldump 資料庫備份程式MySql資料庫
- 使用NineData實現企業級資料庫備份, 資料備份告別“拆盲盒” ?資料庫
- 資料同步和資料備份
- oracle邏輯備份之--資料泵Oracle
- 使用離線工具dmbackup進行資料庫備份資料庫