バックアップを実行するには、次のコマンドを使用します。
/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。 バックアップ)。 - /opt/apigee/apigee-service/bin/apigee-service component_name stop 
- バックアップ コマンドを実行します。 - /opt/apigee/apigee-service/bin/apigee-service component_name backup - バックアップ コマンドは次の処理を行います。 - 次のディレクトリとファイルの 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 
 
- 次のディレクトリとファイルの tar ファイルを作成します。
          component_name はコンポーネントの名前です。
          <ph type="x-smartling-placeholder">
- コンポーネントを起動します(ただし、PostgreSQL と Cassandra はバックアップ時に実行する必要があります)。 - /opt/apigee/apigee-service/bin/apigee-service component_name start 
同じノードに複数の Edge コンポーネントをインストールしている場合、 1 つのコマンドで実行できます。
/opt/apigee/apigee-service/bin/apigee-all backup
このコマンドにより、ノード上の各コンポーネントのバックアップ ファイルを作成します。