Send feedback
How to Perform a Backup
Edge for Private Cloud v4.18.01
Note: When backing up a complete Edge installation, you must back up
all components. See "What to Backup" at Backup and Restore
for more.
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
Warning: The backup utility writes the generated backup file to
/opt/apigee/backup/comp
where comp is the name of the component. Because you can generate many
backup files, and because these files can get large, you can mount a separate disk at
/opt/apigee/backup just for
backup files.
Note: For components not associated with a data store, such as the
Router or Message Processor, the backup command still creates a backup file containing
configuration and other information.
Note: For PostgreSQL only, you can optionally create a network storage
snapshot as an alternative to using the Apigee backup command. This snapshot cab be useful
because the Apigee backup command takes time to run and PostgreSQL data generated while the
backup runs could be omitted from the resulting .dump file.
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
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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-30 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-04-30 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-30 UTC."],[],[]]