日本综合一区二区|亚洲中文天堂综合|日韩欧美自拍一区|男女精品天堂一区|欧美自拍第6页亚洲成人精品一区|亚洲黄色天堂一区二区成人|超碰91偷拍第一页|日韩av夜夜嗨中文字幕|久久蜜综合视频官网|精美人妻一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
如何恢復(fù)master數(shù)據(jù)庫

master數(shù)據(jù)庫的恢復(fù)是很多人都不太了解的,除非是特別專業(yè)的人士,下文中為大家講解的master數(shù)據(jù)庫的恢復(fù)代碼很多,希望大家能夠深入的去學(xué)習(xí),相信大家通過下文的學(xué)習(xí)一定都能夠掌握master數(shù)據(jù)庫的恢復(fù)方法。

創(chuàng)新互聯(lián)客戶idc服務(wù)中心,提供雅安機(jī)房托管、成都服務(wù)器、成都主機(jī)托管、成都雙線服務(wù)器等業(yè)務(wù)的一站式服務(wù)。通過各地的服務(wù)中心,我們向成都用戶提供優(yōu)質(zhì)廉價(jià)的產(chǎn)品以及開放、透明、穩(wěn)定、高性價(jià)比的服務(wù),資深網(wǎng)絡(luò)工程師在機(jī)房提供7*24小時(shí)標(biāo)準(zhǔn)級(jí)技術(shù)保障。

ASE can't setup and has no valid dump of master

1、編輯RUN_servername

在命令行最后加入:-T3607

2、單用戶模式啟動(dòng)ASE

$cd install

$startserver -f RUN_servername -m

3、bcp out系統(tǒng)表

$bcp master..sysdevices out /directory.spec/devs -Usa -P -c

$bcp master..sysdatabases out /directory.spec/dbs -Usa -P -c

$bcp master..sysusages out /directory.spec/usages -Usa -P -c

$bcp master..syslogins out /directory.spec/logins -Usa -P -c

$bcp master..sysconfigures out /directory.spec/configures -Usa -P -c

$bcp master..syscharsets out /directory.spec/charsets -Usa -P -c

4、shutdownASE

5、創(chuàng)建新master設(shè)備

$buildmaster -d -s

(new_master_device_size以2K為單位)

6、編輯RUN_servername

將指定master設(shè)備指定為新創(chuàng)建的master設(shè)備,并刪除在第1步中增加的參數(shù)。

7、刪除/directory.spec/dbs、/directory.spec/usages文件中有關(guān)master、tempdb、model的內(nèi)容。

8、單用戶模式啟動(dòng)ASE

$cd install

$startserver -f RUN_servername -m

9、 bcp in系統(tǒng)表

$ bcp master..sysdevices in /directory.spec/devs -Usa -P -b 1 -c

$bcp master..sysdatabases in /directory.spec/dbs -Usa -P -b 1 -c

$bcp master..sysusages in /directory.spec/usages -Usa -P -b 1 -c

$bcp master..syslogins in /directory.spec/logins -Usa -P -b 1 -c

$bcp master..sysconfigures in /directory.spec/configures -Usa -P -b 1 -c

$bcp master..syscharsets in /directory.spec/charsets -Usa -P -b 1 -c

10、重啟ASE

11、執(zhí)行installmaster腳本

$isql -Usa -P < $SYBASE/scripts/installmaster

關(guān)于如何恢復(fù)master數(shù)據(jù)庫的知識(shí)就為大家講解到這里,如果大家對(duì)這方面的知識(shí)比較感興趣,在以后我還會(huì)繼續(xù)為大家講解更多更深的知識(shí)點(diǎn),希望對(duì)大家能夠有所幫助。


分享名稱:如何恢復(fù)master數(shù)據(jù)庫
本文URL:http://www.dlmjj.cn/article/cojspii.html