自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

如何恢復(fù)master數(shù)據(jù)庫

數(shù)據(jù)庫 其他數(shù)據(jù)庫
下文中主要為大家講解master數(shù)據(jù)庫的恢復(fù),大家掌握了這個知識點(diǎn)對大家以后的工作是非常有幫助的,希望下文中涉及到的內(nèi)容對大家能夠有所幫助。

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

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

1、編輯RUN_servername

在命令行最后加入:-T3607

2、單用戶模式啟動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<path_to_new_master_device> -s<new_master_device_size>

(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、單用戶模式啟動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ù)庫的知識就為大家講解到這里,如果大家對這方面的知識比較感興趣,在以后我還會繼續(xù)為大家講解更多更深的知識點(diǎn),希望對大家能夠有所幫助。

 

責(zé)任編輯:迎迎 來源: 電腦初學(xué)網(wǎng)
相關(guān)推薦

2011-03-23 10:08:09

2011-05-10 16:34:03

MasterSQL Server

2011-03-22 15:55:26

數(shù)據(jù)庫內(nèi)容恢復(fù)

2022-09-22 19:09:11

SQL Server數(shù)據(jù)庫

2022-09-22 22:51:32

Master數(shù)據(jù)庫

2011-03-07 14:15:33

standby數(shù)據(jù)庫

2018-04-28 15:28:44

數(shù)據(jù)庫MySQL誤刪除

2023-12-07 15:09:23

2010-06-09 15:40:59

MySQL數(shù)據(jù)庫文件

2011-03-24 11:14:46

2011-05-18 10:49:53

Oralce數(shù)據(jù)庫

2011-03-24 17:49:47

數(shù)據(jù)庫恢復(fù)

2009-11-20 13:29:59

Oracle數(shù)據(jù)庫恢復(fù)

2011-03-24 09:45:34

SQL Server數(shù)恢復(fù)

2011-02-28 13:31:17

Oracle數(shù)據(jù)庫

2011-05-26 09:36:07

Oracle數(shù)據(jù)庫Redo故障

2011-05-17 11:33:43

oracle數(shù)據(jù)庫

2017-06-14 21:31:39

數(shù)據(jù)庫Oracleresetlogs

2010-10-14 10:18:28

MySQL數(shù)據(jù)庫備份

2011-03-23 09:31:26

歸檔日志文件數(shù)據(jù)庫恢復(fù)
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號