私有雲版本 4.16.09 版本
請使用下列指令執行備份:
> /<inst_root>/apigee/apigee-service/bin/apigee-service comp backup
其中 comp 是元件的名稱。例如:
> /<inst_root>/apigee/apigee-service/bin/apigee-service apigee-cassandra backup
備份指令:
- 停止元件 (PostgreSQL 除外,因為 PostgreSQL 必須執行備份作業)。
- 建立下列目錄和檔案的 tar 檔案,其中 comp 是元件的名稱:
- 目錄
- /<inst_root>/apigee/data/com
- /<inst_root>/apigee/etc/comp.d
- 檔案 (如果有的話)
- /<inst_root>/apigee/token/application/comp.properties
- /<inst_root>/apigee/customer/application/comp.properties
- /<inst_root>/apigee/customer/defaults.sh
- /<inst_root>/apigee/customer/conf/license.txt
- 目錄
- 針對 PostgreSQL 以外的所有元件,將 tar 檔案寫入 /<inst_root>/apigee/backup/comp。名稱格式為:
backup-(year).(day).(hour).(min).(second).).second.gz
(範例:2016.03.17,1.(1) 號 (1.1)) - 重新啟動元件 (但 PostgreSQL 必須執行備份作業)。
如果您在同一個節點中安裝了多個 Edge 元件,則可以使用單一指令備份所有元件:
> /<inst_root>/apigee/apigee-service/bin/apigee-all backup
這個指令會為節點中的每個元件建立備份檔案。