> [!CAUTION]
> **Caution:** This documentation covers Edge for Private Cloud 4.18.05, which is no longer supported. Google does not provide security patches, bug fixes, or technical support for this version. The current supported version is 4.54.00. See the [Edge for Private Cloud documentation](https://docs.apigee.com/private-cloud/latest/overview) for the current version, or [All versions](https://docs.apigee.com/private-cloud/versions) to compare releases.

*Edge for Private Cloud v4.18.05*

You can restore a component from the file you created when [backing
up](https://docs.apigee.com/private-cloud/v4.18.05/how-perform-backup) that component.

Use the following command to perform a restore:

```
/opt/apigee/apigee-service/bin/apigee-service component_name restore backupFile
```

Where <var translate="no">backupFile</var> is the name of the backup file and <var translate="no">component_name</var> is the
name of the component. <var translate="no">component_name</var> can be one of the following:

- `apigee-cassandra` (Cassandra)
- `apigee-openldap` (OpenLDAP)
- `apigee-postgresql` (PostgreSQL database)
- `apigee-qpidd` (Qpidd)
- `apigee-sso` (Edge SSO)
- `apigee-zookeeper` (ZooKeeper)
- `edge-management-server` (Management Server)
- `edge-management-ui` (new Edge UI)
- `edge-message-processor` (Message Processor)
- `edge-postgres-server` (Postgres Server)
- `edge-qpid-server` (Qpid Server)
- `edge-router` (Edge Router)
- `edge-ui` (Classic UI)

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, Apigee uses the most recent file in
`/opt/apigee/backup/component_name`.

> [!NOTE]
> **Note:** There is no "restore all" command. You must restore each component individually.

The restore command:

1. Uses the specified backup file or gets the latest backup file, if a filename was not specified.
2. Checks to see if the following directories are empty:

   ```
   /opt/apigee/data/component_name
   /opt/apigee/etc/component_name.d
   ```
3. If the above directories are not empty, the `restore` command stops and asks you to remove them.
4. Stops the component.
5. Restore the component from the backup.

   > [!NOTE]
   > **Note**: You must explicitly restart the component after a restore.