-export

這個指令用來將資料庫的內容匯出至 TAR 檔。

用途

export 指令採用現行系統編碼,將資料庫內容匯出至 TAR 檔。
註: repotools -export 指令只用來變更資料庫供應商,例如從 Derby 改為 DB2。 這個指令不適用於備份資料庫。
記住: 這個指令會要求先關閉伺服器。

參數

屬性 說明 必要 預設值
toFile 匯出資料時的目標 TAR 檔的路徑。 是  
teamserver.properties teamserver.properties 檔的檔案系統路徑。 否 conf/<application>/teamserver.properties
logFile 日誌檔的路徑。 否 repotools-<application>_export.log
overwrite 是否應改寫 toFile 選項指定的檔案。合法值:yes、no、true 和 false。 否 no

範例

repotools-<application> -export toFile=export.tar

意見