邏輯備份
sys_dump 備份
切換用戶
su - kingbase
進入到邏輯備份工具目錄
/data/KingbaseES/ES/V8/ClientTools/bin
./sys_dump -Ukexue -dv82sp1 -p54321 -Fp >/data/databakfile/2024-01-13v82sp1-2.sql
參數(shù)-F表示文件輸出格式,p為plain模式,這里輸出為sql格式;-U用戶,-p密碼 -d數(shù)據(jù)庫
邏輯還原
進入到邏輯備份工具目錄
/data/KingbaseES/ES/V8/ClientTools/bin文章來源:http://www.zghlxwxcb.cn/news/detail-795330.html
./ksql -Uceshi -dceshi -p54321 -f /data/databakfile/2024-01-13v82sp1-2.sql
參數(shù)-F表示文件輸出格式,p為plain模式,這里輸出為sql格式;-U用戶,-p密碼 -d數(shù)據(jù)庫
The authentication type 10 is not supported
鏈接人大金倉數(shù)據(jù)庫報錯:
The authentication type 10 is not supported. Check that you have configured the sys_hba.conf file to include the client’s IP address or subnet, and that it is using an authentication scheme supported by the driver.
解決:
一定要切換kingbase用戶修改Kingbase\ES\V8\data\sys_hba.conf文件
重啟數(shù)據(jù)庫文章來源地址http://www.zghlxwxcb.cn/news/detail-795330.html
到了這里,關(guān)于人大金倉邏輯備份與還原的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!