Send Docs Feedback

How to Perform a Restore

Edge for Private Cloud v. 4.17.01

Use the following command to perform a restore:

> /opt/apigee/apigee-service/bin/apigee-service comp restore backupFile

where comp is the name of the component and backupFile is the name of the backup file. For example:

> /opt/apigee/apigee-service/bin/apigee-service apigee-cassandra restore backup-2016.03.17,14.40.41.tar.gz

The backup file is optional. If omitted, it uses the latest file in /opt/apigee/backup/comp.

There is no "all" restore command. You must restore component individually.

The restore command:

  1. Gets the latest backup file, if a filename was not passed in, or uses the specified backup file.
  2. Checks to see if the directories are empty:
    /opt/apigee/data/comp
    /opt/apigee/etc/comp.d
  3. If the above directories are not empty, restore stops and ask you to remove them.
  4. Stops the component.
  5. Restore the component from the backup.
    Note: You must explicitly restart the component after a restore.

Help or comments?