Patent ID: 8683088

Claim:
A method for protecting against corruption of data stored in a peripheral storage device, the method comprising: communicatively coupling the peripheral storage device with a host computer, the peripheral storage device comprising a portable storage device having at least memory and a controller; storing data from the host computer to a first portion of the peripheral storage device memory; the controller backing up some or all of the data to a second portion of the peripheral storage device memory; setting a pointer to indicate that the first portion of the peripheral storage device memory is to be used and the second portion is a backup portion; the controller restoring some or all of the data from the backup portion of the peripheral storage device memory to the first portion of the peripheral storage device memory to be used; and changing the pointer to indicate that the second portion of the peripheral storage device memory is to be used and the first portion is to be considered the backup portion; wherein the data is encrypted by the controller, the controller being an on-board processor included within the portable storage device.