How to Perform a Backup

Edge for Private Cloud v. 4.17.05

Use the following command to perform a backup:

> /opt/apigee/apigee-service/bin/apigee-service comp backup

where comp is the name of the component. For example:

> /opt/apigee/apigee-service/bin/apigee-service apigee-cassandra backup

The backup command:

  1. Stops the component (except for PostgreSQL which must be running to backup).

    Note: As of Edge the backup procedure no longer shuts down Cassandra.
  2. Creates a tar file of the following directories and files, where comp is the name of the component:
    1. Directories
      • /opt/apigee/data/comp
      • /opt/apigee/etc/comp.d
    2. Files if they exists
      • /opt/apigee/token/application/
      • /opt/apigee/customer/application/
      • /opt/apigee/customer/
      • /opt/apigee/customer/conf/license.txt
  3. For all components except PostgreSQL, writes the tar file to /opt/apigee/backup/comp. The name is in the form:

    For example:

    For PostgreSQL, the file is named:
  4. Restarts the component (except for PostgreSQL and Cassandra which must be running to backup).

If you have multiple Edge components installed on the same node, you can back up them all with a single command:

> /opt/apigee/apigee-service/bin/apigee-all backup

This command creates a backup file for each component on the node.