Cannot restore files that include traditional Chinese characters from NetBackup Appliance BAR

Cannot restore files that include traditional Chinese characters from NetBackup Appliance BAR

文章: 100040147
上次发布时间: 2018-12-13
评级: 0 0
产品: Appliances

Problem

The traditional Chinese characters are garbled if users want to restore files from NetBackup Appliance BAR GUI.

 

Error Message

Image

Cause

 

Solution

There are 4 steps in this workaround:

#1.编辑/etc/init.d/netbackup 和/etc/sysconfig/language 两个文件,详细方法见TECH200395.
#2.暂时不修改setconf.bat,登录Appliance,转到Host Properties-->Master Server-->Properties-->Login Banner Configuration,随便输入几个英文字符在Login Banner Heading和Text Box里面.
#3.在Appliance上,cp /usr/openv/netbackup/bp.conf /admin/
#4.编辑setconf.bat,将REM SET NBJAVA_FILE_ENCODING= 改为 SET NBJAVA_FILE_ENCODING=zh_TW.utf8

下面是每一步的解释:
#1.修改netbackup和language文件并且重启appliance是保证backup/restore路径里面有繁体中文的字符能被NBU识别.
#2.添加login banner configuration信息是因为在登录NBU Admin Console的时候,在繁体中文的系统里,如果NBU没有发现这个信息,login界面会hang住.一个workaround就是随便添加几个英文字符.
#3.copy bp.conf到/admin/ 目录. 这一步是因为:即使添加了login banner configuration信息能登陆Admin Console,但是单击”Backup,Archive,and Restore”界面依然会hang住,经查log发现是在/admin/ 目录下面找不到bp.conf:
--------------------------------------------------------
(SR-1)readFile:
Protocol Code: 4
Status: 2
Time Taken: 250ms
Error Msg: 沒有此一檔案或目錄
Server Locale: zh_TW
TO[0]: /admin/bp.conf
FROM[0]: 沒有此一檔案或目錄
Aux data: null
---------------------------------------------------------
#4.这是为了让java console能显示NBU界面的繁体中文.

 

 

 

此内容是否有用?