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 |
---|---|---|
|
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. |
|
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. |
|
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 |
|
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 deleted 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. |
|
Shows the list of all backups for a deleted service-fabrik service instance. (Works only for a deleted service-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. Deleted instance not found error: If the deleted instance name is incorrect. **Multiple Guid for a deleted service instance error:**When plugin encounters multiple instance Guid’s associated with the given instance name |
|
Restores a service instance from the specified instance name and backup ID. Before providing a restore command, ensure that the backup is available for the service instance. You can verify the state of the restore process using |
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. |
|
Aborts an ongoing restore operation of the specified service instance. You can verify the state of the abort process using |
No restore in progress: if no restore operation is currently in progress for the specified service instance. The restore 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. |
|
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. |
|
Check the progress of the last restore operation triggered on the specified instance name. Provides additional information 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 restore 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. |