-copy

這個指令用來透過 TAR 檔,將資料從某個資料庫複製至另一個資料庫。

用途

copy 指令會利用 .tar 檔,將資料從目標儲存庫複製到來源儲存庫。
記住: 這個指令會要求先關閉伺服器。

參數

屬性 說明 必要 預設值
toFile TAR 檔的路徑。 是 N/A
target.teamserver.properties 目標 teamserver.properties 檔的路徑。 是 N/A
source.teamserver.properties 來源 teamserver.properties 檔的路徑。 否 conf/<application>/teamserver.properties
logFile 日誌檔的路徑。 否 repotools-<application>_copy.log
overwrite 是否改寫 toFile 選項指定的檔案。合法值:yes、no、true 和 false。 否 否
noPrompt 在匯入之前,不提示就開始建立表格。 否 N/A
noVerify 不驗證匯入的資料。 否 N/A

範例

repotools-<application> -copy toFile=export.tar target.teamserver.properties="C:\Program Files\IBM\JazzTeamServer\server\conf\jazz\teamserver.db2.properties"

意見