DB2卸載后正確巧妙恢復(fù)原來數(shù)據(jù)庫中的某些數(shù)據(jù)
此文章主要講述的是DB2卸載后正確恢復(fù)原來數(shù)據(jù)庫中的某些數(shù)據(jù)的實(shí)際操作流程,為了更好的對(duì)其進(jìn)行說明,此文主要是以一問一答的方式對(duì)其進(jìn)行解說,以下就是文章的主要內(nèi)容的詳細(xì)介紹。
問題:我不小心把DB2給卸載了,請(qǐng)問有什么方法恢復(fù)原來數(shù)據(jù)庫中的數(shù)據(jù)???DB2卸載后還剩下DB2,DB2CTLSV 兩個(gè)目錄,但這兩個(gè)目錄都不大,請(qǐng)問DB2的數(shù)據(jù)庫文件
是存在這兩個(gè)目錄下么?不是的話那就慘了。
回答:
- The database should be in DB2 directory.
- You have to reinstall db2. After that, issue the following command:
- db2 catalog db db_name on drive_name
- where db_name is the database name, drive_name is where DB2 directory resides.
以上的相關(guān)內(nèi)容就是對(duì)DB2卸載后怎樣恢復(fù)原來數(shù)據(jù)庫中的數(shù)據(jù)的介紹,望你能有所收獲。
上述的相關(guān)內(nèi)容就是對(duì)DB2卸載后怎樣恢復(fù)原來數(shù)據(jù)庫中的數(shù)據(jù)的描述,希望會(huì)給你帶來一些幫助在此方面。
【編輯推薦】