Edge for Private Cloud v4.18.05
バックアップを実行するには、次のコマンドを使用します。
/opt/apigee/apigee-service/bin/apigee-service component_name backup
ここで、component_name はコンポーネントの名前です。有効な値は次のとおりです。
apigee-cassandra(Cassandra)apigee-openldap(OpenLDAP)apigee-postgresql(PostgreSQL データベース)apigee-qpidd(Qpidd)apigee-sso(Edge SSO)apigee-zookeeper(ZooKeeper)edge-management-server(Management Server)edge-management-ui(新しい Edge UI)edge-message-processor(Message Processor)edge-postgres-server(Postgres Server)edge-qpid-server(Qpid Server)edge-router(Edge Router)edge-ui(Classic UI)
例:
/opt/apigee/apigee-service/bin/apigee-service apigee-cassandra backup
バックアップ コマンド:
- コンポーネントを停止します(PostgreSQL と Cassandra。 バックアップ)。
- 次のディレクトリとファイルの tar ファイルを作成します。
component_name はコンポーネントの名前です。
<ph type="x-smartling-placeholder">
- </ph>
- ディレクトリ
<ph type="x-smartling-placeholder">
- </ph>
/opt/apigee/data/component_name/opt/apigee/etc/component_name.d
- ファイル(存在する場合)
<ph type="x-smartling-placeholder">
- </ph>
/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
- ディレクトリ
<ph type="x-smartling-placeholder">
/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 コンポーネントをインストールしている場合、 1 つのコマンドで実行できます。
/opt/apigee/apigee-service/bin/apigee-all backup
このコマンドにより、ノード上の各コンポーネントのバックアップ ファイルを作成します。