如何備份
Private Cloud v4.18.05 專用 Edge
請使用下列指令執行備份:
/opt/apigee/apigee-service/bin/apigee-service component_name backup
其中 component_name 是元件的名稱。可能的值包括:
apigee-cassandra
(Cassandra)
apigee-openldap
(OpenLDAP)
apigee-postgresql
(PostgreSQL 資料庫)
apigee-qpidd
(魁北克)
apigee-sso
(邊緣單一登入)
apigee-zookeeper
(ZooKeeper)
edge-management-server
(管理伺服器)
edge-management-ui
(新版 Edge UI)
edge-message-processor
(訊息處理器)
edge-postgres-server
(Postgres 伺服器)
edge-qpid-server
(快速伺服器)
edge-router
(邊緣路由器)
edge-ui
(傳統版 UI)
例如:
/opt/apigee/apigee-service/bin/apigee-service apigee-cassandra backup
敬上
備份指令:
- 停止這個元件 (必須執行的 PostgreSQL 和 Cassandra 除外)
備份)。
- 建立下列目錄和檔案的 tar 檔案,其中
component_name 是元件的名稱:
- 目錄
/opt/apigee/data/component_name
/opt/apigee/etc/component_name.d
- 檔案 (如果有的話)
/opt/apigee/token/application/component_name.properties
/opt/apigee/customer/application/component_name.properties
/opt/apigee/customer/defaults.sh
/opt/apigee/customer/conf/license.txt
- 在
/opt/apigee/backup/component_name
目錄中建立 .tar.gz 檔案。
檔案名稱的格式如下:
backup-year.month.day,hour.min.seconds.tar.gz
例如:
backup-2018.05.29,11.13.42.tar.gz
如果是 PostgreSQL,檔案名稱格式如下:
year.month.day,hour.min.seconds.dump
- 重新啟動元件 (不支援 PostgreSQL、Cassandra、ZooKeeper 和 OpenLDAP,
未重新啟動)。
如果您在同一個節點上安裝多個 Edge 元件,
:
/opt/apigee/apigee-service/bin/apigee-all backup
這個指令會為節點上的每個元件建立備份檔案。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-22 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
{"lastModified": "\u4e0a\u6b21\u66f4\u65b0\u6642\u9593\uff1a2024-08-22 (\u4e16\u754c\u6a19\u6e96\u6642\u9593)\u3002"}
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-08-22 (世界標準時間)。"],[],[]]