## 6.2.5.1.3.5.2  Extended Cloud Foundry Commands of Service Fabrik
The Service Fabrik plugin provides commands that support backup and restore operations.
The various commands described in the table below are functionalities that facilitate these operations:
| Usage                                            | Description                                                                                                                                                                                                                                                             | Common Error Scenarios                                                                                                                                                                                                                                                                                                                                                                                          |
|--------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| cf list-backup                                   | Shows a list of all the service instance backups. These backups are specific to the spaceyou are logged on to. If you have permission to access multiple spaces and need to view backups for a specific space, log on to that space in Cloud Foundry.                   | Unauthorized Access: if you do not have permission to access the space containing the service instance or the service instance itself. Verify that you have the required permission.                                                                                                                                                                                                                            |
| cf list-backup <service_instance_name>           | Shows a list of backups that are specific to the service instance within a space.                                                                                                                                                                                       | Unauthorized Access: if you do not have permission to access the space containing the service instance or the service instance itself. Verify that you have the required permission.                                                                                                                                                                                                                            |
| cf backup <backup_id>                            | Provides additional information about a specific backup such as the service instance name for which backup was taken, the org and the space name to which the backup belongs, the type of backup, the status of backup, the start and finish time of backup, and so on. | none                                                                                                                                                                                                                                                                                                                                                                                                            |
| cf list-backup --guid <service_instance_guid>    | Shows the list of all backups for the given service-fabrik service instance. The argument has to be the guid of the service instance. (Works even for a de- leted instance.)                                                                                            | Unauthorized Access: if you do not have permission to access the space containing the service instance or the service instance itself. Verify that you have the required permission.                                                                                                                                                                                                                            |
| cf list- backup<service_instance_name> --deleted | Shows the list of all backups for a deleted service-fabrik service instance. (Works only for a deleted service-in- stance.)                                                                                                                                             | Unauthorized Access: if you do not have permission to access the space containing the service instance or the service instance itself. Verify that you have the required permission. Deleted instance not found error: If the deleted instance name is incorrect. Multiple Guid for a deleted service instance error: When plugin encoun- ters multiple instance Guid's associated with the given instance name |
| Usage                                                | Description                                                                                                                                                                                                                                                                                                                                               | Common Error Scenarios                                                                                                                                                                                                                                                                                                                                                                     |
|------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| cf start-restore <service_instance_name> <backup_id> | Restores a service instance from the specified instance name and backup ID. Before providing a restore com- mand, ensure that the backup is available for the service instance. You can verify the state of the re- store process using cf restore <service_instance_name> .                                                                              | Unauthorized Access: if you do not have permission to access the space containing the service instance or the service instance itself. Verify that you have the required permission. Another concurrent access: if another operation is already in progress for the service instance. You might need to try again after the current operation is completed.                                |
| cf abort-restore <service_instance_name>             | Aborts an ongoing restore operation of the specified service instance. You can verify the state of the abort process using cf restore <service_instance_name> .                                                                                                                                                                                           | No restore in progress: if no restore operation is currently in progress for the specified service instance. The re- store activity might have completed or you might not have initiated a restore. Unauthorized Access: if you do not have permission to access the space containing the service instance or the service instance itself. Verify that you have the required permission.   |
| cf instance-events -- delete                         | List all delete service instance events in the space.                                                                                                                                                                                                                                                                                                     | Unauthorized Access: if you do not have permission to access the space containing the service instance or the service instance itself. Verify that you have the required permission.                                                                                                                                                                                                       |
| cf restore<service_instance_name >                   | Check the progress of the last restore operation triggered on the specified instance name. Provides additional in- formation about the restore operation such as the service instance name for which restore was taken, the org and the space name to which the instance belongs, the status of restore, the start and finish time of restore, and so on. | No restore in progress : if no restore operation is currently in progress for the specified service instance. The re- store activity might have completed or you might not have initiated a restore. Unauthorized Access : if you do not have permission to access the space containing the service instance or the service instance itself. Verify that you have the required permission. |