路徑
創(chuàng)新互聯(lián)專注于企業(yè)全網(wǎng)整合營銷推廣、網(wǎng)站重做改版、汶上網(wǎng)站定制設(shè)計(jì)、自適應(yīng)品牌網(wǎng)站建設(shè)、H5建站、商城網(wǎng)站制作、集團(tuán)公司官網(wǎng)建設(shè)、成都外貿(mào)網(wǎng)站建設(shè)公司、高端網(wǎng)站制作、響應(yīng)式網(wǎng)頁設(shè)計(jì)等建站業(yè)務(wù),價(jià)格優(yōu)惠性價(jià)比高,為汶上等各大城市提供網(wǎng)站開發(fā)制作服務(wù)。數(shù)據(jù)備份路徑:/usr/sap/SID/HDBnr/backup/data
日志備份路徑:/usr/sap/SID/HDBnr/backup/log
如果想更改路徑,可以studio的backup console中更改
也可以在global.ini配置文件中更改$(DIR_INSTANCE)/../SYS/global/hdb/custom/config
Catalog
與oracle的catalog作用類似,記錄所備份的內(nèi)容
SP12的catalog文件和log備份文件同在一個(gè)目錄,格式:log_backup_0_0_0_0.<BackupID>
詳細(xì)版本說明可參考如下note
1812980 - Changes to the backup catalog as of Revision 4
其中有一句話需要注意:
When an SAP HANA database is recovered, the system uses the file log_backup_0_0_0_0 that has the highest version ID in the suffix. The system uses the information contained in this file to determine the other backups that are required for the recovery.
意思是在恢復(fù)數(shù)據(jù)庫的時(shí)候,將從最新的catalog文件里面獲取所需要使用備份文件的信息。
數(shù)據(jù)備份文件
格式:<Prefix>_databackup_<Volume ID>_<Index>
Prefix一般是日期+時(shí)間,用于區(qū)別每一次的備份,因?yàn)楹竺娴拿嗤?,不然將覆蓋上一次備份
databackup是系統(tǒng)自動增加
Volume ID與service對應(yīng),確定當(dāng)前備份文件屬于那個(gè)服務(wù)
Index當(dāng)前是1
比如下面的
2016-11-25.complete_databackup_N_1代表是哪個(gè)服務(wù)的備份呢?
0/1是nameserver,2是xsengine,3是indexserver
可以通過hdbbackupcheck -v backupfilename來檢查,同時(shí)backupid也會顯顯示在結(jié)果中
具體可查看note 1705945 - Determining required restoration files
4.日志備份文件
默認(rèn)是15分鐘,即900秒備份一次,可以自行更改
備份一次也會相應(yīng)產(chǎn)生一次catalog文件
格式:log_backup_<Volume ID>_<Partition ID>_ <FirstRedoLogPosition>_<LastRedoLogPosition>
The SAP HANA database always adds the character string "log_backup_" to the file name and it therefore refers to a log backup.
The <Volume ID> identifies the database service to which the backup belongs.---與數(shù)據(jù)備份文件一樣意思
The <Partition ID> is currently always 0.
The <FirstRedoLogPosition> is the redo log position of the first or oldest log entry that is contained in the log.
The <LastRedoLogPosition> corresponds to the first redo log position of the next log backup that follows.
如下:
-rw-r----- 1 heqadm sapsys 12288 Nov 25 10:37 log_backup_0_0_0_0.1480041459523 -rw-r----- 1 heqadm sapsys 61440 Nov 25 10:52 log_backup_2_0_11928192_11929024.1480042320558 -rw-r----- 1 heqadm sapsys 86016 Nov 25 10:52 log_backup_1_0_1686400_1687616.1480042320555 -rw-r----- 1 heqadm sapsys 16384 Nov 25 10:52 log_backup_0_0_0_0.1480042322962 -rw-r----- 1 heqadm sapsys 1069056 Nov 25 10:52 log_backup_3_0_4943550784_4943567360.1480042320564 -rw-r----- 1 heqadm sapsys 1007616 Nov 25 10:52 log_backup_1_0_1687616_1703232.1480042321464 -rw-r----- 1 heqadm sapsys 22958080 Nov 25 10:52 log_backup_3_0_4943567360_4943925952.1480042322229 -rw-r----- 1 heqadm sapsys 16384 Nov 25 10:52 log_backup_0_0_0_0.1480042323923 -rw-r----- 1 heqadm sapsys 16384 Nov 25 10:52 log_backup_0_0_0_0.1480042325885最后一個(gè)字符串是backupID
也可以通過hdbbackupcheck -v logbackupname來檢查
具體可查看note 1705945 - Determining required restoration files
追加說明
1852242 - Confusion about file-based backup catalog naming
1. From revision 45 until 49: log_backup_0_0_0_0.<digit1><digit2>
2. From revision 50 until 51: log_backup_0_0_0_0.<BackupID>
3. From revision 52 until 53: log_backup_0_0_0_0.<digit1><digit2>
4. From revision 54: log_backup_0_0_0_0.<BackupID>
參考:https://sapbi.blog/2013/03/20/sap-hana-backup-notes/
另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價(jià)比高”等特點(diǎn)與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。
分享名稱:HANA備份文件說明-創(chuàng)新互聯(lián)
轉(zhuǎn)載來于:http://www.rwnh.cn/article28/dosocp.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供品牌網(wǎng)站制作、品牌網(wǎng)站建設(shè)、網(wǎng)站策劃、定制網(wǎng)站、動態(tài)網(wǎng)站、ChatGPT
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容