Usability states of snapshot backup operations
To view the usability states of a DB2® snapshot
backup, enter the following command: ./fcmcli -f inquire_detail. The output from
this command shows a comma-separated list of the current usability states.
...
Type Partition Backup-ID TSM Backup-ID State DevClass TargetSet BackgroundCopy
BytesToBeFlashCopied
#BACKUP NODE0000 20130827214721 - IN_PROGRESS MIRROR1 1 3.000 GB of 3.000 GB
3.000 GB
UsabilityStates: REMOTELY_MOUNTABLE,REPETITIVELY_RESTORABLE,SWAP_RESTORABLE,PHYSICAL_PROTECTION,FULL_COPY,
TAPE_BACKUP_PENDING,TAPE_BACKUP_FAILED
...
A
snapshot backup generation can have one or more of the following states to indicate how it can or
must be used by other IBM® Storage Protect
Snapshot
functions.| Usability state value | Meaning |
|---|---|
| REMOTELY_MOUNTABLE | Backup data can be mounted from a remote system. |
| REPETITIVELY_RESTORABLE | Backup data can be restored. The image can be used multiple times. |
| DESTRUCTIVELY_RESTORABLE | Data can be restored. After the restore, other backups and possible the backup to be restored can potentially be deleted. |
| SWAP_RESTORABLE | Restore is possible by using the backup volumes directly rather than copying the data back to the source volumes. |
| PHYSICAL_PROTECTION | The snapshot ensures protection from physical failures on the source volumes, there is no longer a dependency on the source volumes. This state does not necessarily mean that a FULL_COPY must be created with each snapshot. For example, block-level continuous data protection (CDP) mechanisms typically replicate the data only once, and then record changes only. |
| FULL_COPY | A full copy of the data was generated. |
| INCOMPLETE | A portion of the data that was backed up is deleted and can no longer be restored. This situation can happen, for example, after a partial restore of an old backup that is only DESTRUCTIVELY_RESTORABLE. |
| MOUNTING | A mount operation was requested on the backup server. |
| MOUNTED | This backup is mounted on a backup server. |
| DELETING | Indicates that a backup is marked for deletion. The deletion was requested. |
| DELETED | Indicates that the backup was deleted. |
| BACKGROUND_MONITOR_PENDING | Indicates that a required background copy process is not yet active or not yet finished. The device agent checks for backups with this state and monitors the associated volumes until the background copy is finished. After it finishes, the usability state is changed to FULL_COPY. |
| TAPE_BACKUP_PENDING | Indicates that a requested backup to an IBM Storage Protect server is not yet started or is not yet finished successfully. The offload agent checks for backups with this state, and runs the requested tape backup. After the tape backup finishes successfully, the usability state is changed to TAPE_BACKUP_COMPLETE. If the tape backup stops with an error, the TAPE_BACKUP_PENDING state remains set, TAPE_BACKUP_IN_PROGRESS is reset, and a retry counter is incremented. |
| TAPE_BACKUP_IN_PROGRESS | Indicates that the requested tape backup was started by the IBM Storage Protect Snapshot offload agent. If the backup fails, this state is reset. In a DB2 DPF environment, this state is used to indicate that some partitions are successfully backed up and others are still pending backup to tape. |
| TAPE_BACKUP_COMPLETE | Indicates that the requested tape backup is finished by the IBM Storage Protect Snapshot offload agent. In a DB2 DPF environment, the TAPE_BACKUP_COMPLETE state is set when all the partitions of the database are successfully backed up to tape. |
| TAPE_BACKUP_FAILED | Indicates that the tape backup of the IBM Storage Protect Snapshot offload agent was not successful and the operation is not retried. In a DB2 DPF environment, the TAPE_BACKUP_FAILED state is set when at least one partition of the database failed during tape backup. |
| CLONE_DATABASE | Indicates that an IBM Storage Protect Snapshot cloning operation was started. |
| RESTORING | Indicates that an IBM Storage Protect Snapshot restore operation was started. |
Usability state diagrams
The following usability state diagrams show the state changes during different operations. The green arrows are used for actions that you can start. The blue arrows are used for actions that are done automatically by IBM Storage Protect Snapshot. The black arrows indicate IBM Storage Protect Snapshot operations that you can use to change usability states.
Snapshot backup
The first state diagram shows the usability state changes during an IBM Storage Protect Snapshot backup operation. Depending on the storage system that is used some states differ.
For example, on XIV®, the snapshot backup is immediately restorable and the restore can be repeated multiple times. After successfully processing on DS8000®, and SAN Volume Controller and Storwize family devices, the BACKGROUND_MONITOR_PENDING usability state is changed to FULL_COPY and PHYSICAL_PROTECTION by a monitoring daemon (acsgen -D) when a COPY snapshot backup was requested.

Snapshot restore
The second state diagram shows the usability state changes during an IBM Storage Protect Snapshot restore operation. On the DS8000 and SAN Volume Controller storage systems, the usability states change during a snapshot restore operation.
For DS8000 and SAN Volume Controller systems, the BACKGROUND_MONITOR_PENDING state is turned on in a RESTORING state. The background monitor daemon (acsgen -D) resets both states when the copy process in the storage system finishes.

Snapshot delete
The next state diagram shows the usability state changes during an IBM Storage Protect Snapshot delete operation. There are two types of delete operations: delete and delete with force option. For both types, the snapshot backup is set to the DELETING state. After processing completes, the background monitor daemon (acsgen -D), switches the states to DELETED.
Snapshots on XIV systems are deleted, and the snapshot backup is removed from the IBM Storage Protect Snapshot repository by the background monitor daemon.

Snapshot mount

Snapshot offload
