「儲存庫工具」概觀
「儲存庫工具應用程式」是一個獨立式應用程式,可用來管理 Jazz™ 儲存庫資料庫。
「儲存庫工具應用程式」主要是用來執行資料庫移轉,不過您也可以針對作用中的伺服器,執行某些伺服器備份作業。
註:
在使用任何會執行系統維護作業的 repotools 指令之前,請先關閉並備份資料庫。
repotools 位於
JazzInstallDir
/server
中。
註:
如果您想從其他任何目錄來執行 repotools 指令,必須將
JazzInstallDir
/server/conf/jazz/provision_profiles 中的 profile.ini 檔變更為使用絕對路徑。請參閱
Modifying the profile.ini and license_profile.ini files
。
jazz.net 程式庫中,與安裝有關的最新項目
備份 Jazz Team Server
您可以使用 repotools 指令行工具,透過停止再啟動
Jazz Team Server
檢索程序,來備份
Jazz Team Server
。
-addTables
這個 repotools 指令會將表格新增至資料庫。
-archiveUser
這個 repotools 指令可保存使用者。
-clone
這個 repotools 指令會建立儲存庫的複本。
-convertTomcatUsers
這個 repotools 指令可將 tomcat-users.xml 檔轉換成加密密碼。
-copy
這個 repotools 指令可透過 TAR 檔,將資料從某個資料庫複製至另一個資料庫。
-createTables
這個 repotools 指令用來建立空的資料庫表格。
-createUser
這個 repotools 指令用來建立新使用者和指派授權,或是更新現有的使用者。
-createUsers
從檔案建立或更新使用者批次。
-dropTables
這個 repotools 指令用來除去資料庫表格。
-export
這個 repotools 指令用來將資料庫內容匯出至 TAR 檔。
-exportUsers
這個 repotools 指令可匯出使用者資訊。
-help
這個 repotools 指令顯示所有儲存庫工具指令的指令行說明。
-import
這個 repotools 指令用來將 TAR 檔內容匯入至新資料庫。
-importUsers
這個 repotools 指令可從檔案來建立或更新一批使用者。
-isServerRunning
這個 repotools 指令指出
Jazz Team Server
是否正在執行。
-listLicenses
列出指定伺服器的已知用戶端存取授權。
-rebuildIndices
這個 repotools 指令可重建資料庫索引。
-rebuildTextIndices
這個 repotools 指令可重建資料庫文字索引。
-syncUsers
-verify
這個 repotools 指令用來驗證資料庫的完整性
意見