How to Perform a Backup

Edge for Private Cloud v. 4.16.05

Use the following command to perform a backup:

> /<inst_root>/apigee/apigee-service/bin/apigee-service comp backup

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

> /<inst_root>/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).
  2. Creates a tar file of the following directories and files, where comp is the name of the component:
    1. Directories
      • /<inst_root>/apigee/data/comp
      • /<inst_root>/apigee/etc/comp.d
    2. Files if they exists
      • /<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
  3. For all components except PostgreSQL, writes the tar file to /<inst_root>/apigee/backup/comp. The name is in the form:
    backup-(year).(month).(day),(hour).(min).(seconds).tar.gz

    For example:
    backup-2016.03.17,14.40.41.tar.gz

    For PostgreSQL, the file is named:
    (year).(month).(day),(hour).(min).(seconds).dump
  4. Restarts the component (except for PostgreSQL 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:

> /<inst_root>/apigee/apigee-service/bin/apigee-all backup

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

Was this page helpful? Let us know how we did:

Send feedback about...

Edge for Private Cloud v4.16.05