The DiskPatch Undo feature
back to Selecting A Disk next to Repair/Rebuild Partition Tables

 

DiskPatch sports an extensive undo feature. The undo feature covers the following operations:

  • The partition table repair
  • The boot sector repair (this includes the FAT repair)
  • Diskeditor actions
  • Restoring a partition state backup

Any changes that were made during any of these operations can be undone.
DiskPatch maintains an undo history of 8 archives, per disk. When a new undo archive is created and there are already 8 archives present, the oldest archive will be deleted. The archives can be found in the DPFILES folder.

How to use the undo feature.

The Undo options in the options menu determine whether you are asked to create an undo archive before any of the operations (that are covered by the undo) are started. Disabling these options will disable the 'create undo' prompts and therefore disable the undo. All undo options are enabled by default.

Creating an undo archive (the appropriate options must be enabled):
When starting a repair or diskeditor session, DiskPatch will display a prompt that will allow you to create an undo archive. You can enter a short description that will be displayed when selecting an undo archive during the actual undo, or leave the suggested text. Pressing <escape> during this prompt will disable the undo for the current operation.
In addition to the text that is entered when creating the undo archive, an undo archive contains information that will explain what type of action was performed. This will help you select the correct undo archive when performing an undo.
When the operation has completed, if an undo archive was created (and sectors on the disk were changed) you'll see a brief message saying that the undo archive was saved. If no message pops up, no sectors were changed and the undo archive was empty and discarded.

Performing an undo:
Select the correct disk. Select the [Undo changes] option from the [Utilities] menu. A list of undo archives will be displayed, if archives are present. Each archive has a description attached, and a time and date that explain when the archive was created. Highlight the appropriate archive and press <enter>. A window will be displayed that contains further details about the undo archive, including the type of operation that was performed at the time this archive was created. You can select [yes] from the displayed prompt to continue with the undo, or [no] to abort.
An undo will always revert all changes that were made during an operation; it's not possible to select any sectors from the undo archive. This is done to make sure that there will be no half-finished repairs on the disk; this could complicate further repairs.
Any changes that are made outside of functions that are covered by the undo can not be reverted automatically. Example: if you change the contents of the MBR by using a function from the [MBR operations] menu, these changes can not be reverted automatically. You would have to create a backup of the MBR first, if you want to be able to undo these particular changes. A backup can be made using the [export sectors] function in the Diskeditor.

Important: performing an undo can not be reverted; make sure to select the correct archive before continuing

http://www.diydatarecovery.nl