Rolling Back a Virtual Disk to a Snapshot

With Microsoft iSCSI Software Target, you can roll back an iSCSI virtual disk to a previous snapshot. Rollback of the disk requires the use of the TEMP directory (such as C:\WINDOWS\Temp). This directory must contain sufficient space to store the differential data. If there is insufficient space, the rollback will be stopped and the virtual disk content will not be changed.

Caution
If you roll back a virtual disk, all data on the current virtual disk is lost. Disconnect all iSCSI targets using the virtual disk and, if it is mounted as a read/write disk, dismount it. Failure to do so can cause data corruption. If you want to preserve the data prior to a roll back operation, take a snapshot before performing the roll back.

Membership in the local Administrators group, or equivalent, is the minimum required to complete this procedure. Review the details in "Additional considerations" in this topic.

To roll back a virtual disk to a snapshot
  1. In Microsoft iSCSI Software Target, in the console tree, click Devices.

  2. In the results pane, right-click the virtual disk you want to roll back, and then click Properties.

  3. On the Snapshots tab, click the snapshot to which the virtual disk is to be rolled back, and then click Roll Back to Snapshot.

  4. When prompted to confirm the action, click Yes.

It is possible to abort a rollback that is in progress. However, aborting a rollback may put the virtual disk in an unknown state.

Caution
Only abort a rollback if you can roll back to a different snapshot or if you can restore the disk from your backup media. Otherwise, it is highly recommended that you allow the rollback to complete.
To abort the rollback of a virtual disk
  1. In Microsoft iSCSI Software Target, in the console tree, click Devices.

  2. In the results pane, right-click the virtual disk that is being rolled back, and then click Abort Rollback.

  3. When prompted to confirm the action, click Yes.

Additional considerations

  • You must be a member of the local Administrators group to perform these tasks.

  • To open iSCSI Software Target, click Start, point to Administrative Tools, and then click Microsoft iSCSI Software Target.

  • Another way to open iSCSI Software Target is to click Start, click Run, and then type iscsitarget.msc.

Additional references