Edge for Private Cloud v4.18.01
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:
- Stops the component (except for PostgreSQL and Cassandra which must be running to backup).
- Creates a tar file of the following directories and files, where
comp is the name of the component:
- Directories
- /opt/apigee/data/comp
- /opt/apigee/etc/comp.d
- Files if they exists
- /opt/apigee/token/application/comp.properties
- /opt/apigee/customer/application/comp.properties
- /opt/apigee/customer/defaults.sh
- /opt/apigee/customer/conf/license.txt
- Directories
- For all components except PostgreSQL, writes the tar file to /opt/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 - Restarts the component (except for PostgreSQL, Cassandra, ZooKeeper, and OpenLDAP which are not restarted).
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.