# US 2008/0307020 A1 · Electronic backup and restoration of encrypted data

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0307020 A1
- Document ID: US20080307020A1
- Status: Published application
- Kind: A1
- Application number: 11/760,615
- Filed: 2007-06-08
- Published: 2008-12-11
- Earliest claimed: 2007-06-08
- Assignees: Apple Inc.
- Inventors: Steve Ko; Robert Ulrich
- Web page: https://patentgrep.com/patent/US20080307020A1

## CPC

- G06F 11/1458: {Management of the backup or restore process}
- G06F 11/1469: {Backup restoration techniques}
- G06F 21/6209: {to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself}
- G06F 21/6245: {Protecting personal data, e.g. for financial or medical purposes}
- G06F 2221/2107: File encryption
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods are provided for storing and restoring digital data. In some implementations, a method is provided. The method includes identifying an encrypted source disk image to be included in a backup operation, the encrypted disk image being encrypted with a first key and generating an encrypted backup disk image, the encrypted backup disk image being encrypted with a second key protected with a randomly generated password. Other embodiments of this aspect include corresponding systems, apparatus, computer program products, and computer readable media.

## Claims

### Claim 1

A method comprising:
identifying an encrypted source disk image to be included in a backup operation, the encrypted disk image being encrypted with a first key; and
generating an encrypted backup disk image, the encrypted backup disk image being encrypted with a second key protected with a randomly generated password.

### Claim 2 (depends on 1)

The method of claim 1, where identifying an encrypted disk image includes identifying data encrypted with the first key and a first header, the first header including one or more encryptions of the first key, each of the one or more encryptions being protected by respective first passwords.

### Claim 3 (depends on 2)

The method of claim 2, where the first passwords include a user password and a system password.

### Claim 4 (depends on 1)

The method of claim 1, where generating the encrypted backup disk image further comprises:
encrypting the data of the encrypted disk image with the second key; and generating one or more encryptions of the second key in a second header, each of the one or more encryptions being protected by respective second passwords, where the second passwords include the randomly generated password.

### Claim 5 (depends on 4)

The method of claim 4, where the second passwords also include a user password and a system password.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
performing a next backup of data on the encrypted disk image, including:
using the randomly generated password to access the encrypted backup disk image;
storing additional backup data in the backup disk image from the encrypted disk image; and
encrypting the backup disk image including the additional backup data.

### Claim 7 (depends on 6)

The method of claim 6, where the backup data includes at least one view of a source disk image.

### Claim 8 (depends on 6)

The method of claim 6, further comprising:
receiving an input to display a history view, the history view including one or more views of the source disk image;
decrypting the backup encrypted disk image; and
presenting the history view, the history view including one or more visual representations corresponding to the views of the source disk image.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
receiving a selection of an item presented in the history view for restoration; and
restoring the selected item including copying the item from the backup disk image to the source disk image.

### Claim 10

A method comprising:
identifying data from a backup disk image on a backup device to restore a storage device as an encrypted disk image, the backup disk image being encrypted using a first encryption key and the backup disk image being associated with a particular user, the backup disk image including one or more versions corresponding to a source disk image;
accessing the backup disk image using a system password;
copying the version of the backup disk image as an encrypted disk image on the storage device, where the encrypted disk image is encrypted using a second encryption key and includes a header having multiple encryptions of the second encryption key, each encryption of the second encryption key being protected with respective passwords including a respective temporary password associated with the user;
capturing a user password, the user password provided by a user to access the encrypted disk image; and
replacing the temporary password with the captured user password and using the captured user password to provide access to the encrypted disk image.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
storing the temporary password in a system keychain.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
identifying the temporary password in the system keychain corresponding to the user;
using the temporary password, decrypting the second encryption key; and
using the captured user password, encrypting the second encryption key.

### Claim 13 (depends on 12)

The method of claim 12, where encrypting the second encryption key with the captured user password includes removing the key encryption associated with the temporary password from the encryption of the second encryption key.

### Claim 14 (depends on 10)

The method of claim 10, where capturing the user password includes:
identifying a request from a user for access to the encrypted disk image;
prompting a request for a password from the user; and
capturing the password provided by the user.

### Claim 15

A system comprising:
a first device including an encrypted disk image, the encrypted disk image including:
data encrypted using a first encryption key, and
a header including the first encryption key, the first encryption key being encrypted using one or more second encryption keys, each protected with a password; and
a second device including an encrypted backup disk image, the encrypted backup disk image including:
data encrypted using a third encryption key, and
a header including the third encryption key, the third encryption key being encrypted using one or more fourth encryption keys, each protected with a password, the one or more fourth encryption keys including an encryption key protected with a randomly generated password.

### Claim 16

A computer program product, encoded on a computer-readable medium, operable to cause data processing apparatus to perform operations comprising:
identifying an encrypted source disk image to be included in a backup operation, the encrypted disk image being encrypted with a first key; and
generating an encrypted backup disk image, the encrypted backup disk image being encrypted with a second key protected with a randomly generated password.

### Claim 17

A computer program product, encoded on a computer-readable medium, operable to cause data processing apparatus to perform operations comprising:
identifying data from a backup disk image on a backup device to restore a storage device as an encrypted disk image, the backup disk image being encrypted using a first encryption key and the backup disk image being associated with a particular user, the backup disk image including one or more versions corresponding to a source disk image;
accessing the backup disk image using a system password;
copying the version of the backup disk image as an encrypted disk image on the storage device, where the encrypted disk image is encrypted using a second encryption key and includes
a header having multiple encryptions of the second encryption key, each encryption of the second encryption key being protected with respective passwords including a respective temporary password associated with the user;
capturing a user password, the user password provided by a user to access the encrypted disk image; and
replacing the temporary password with the captured user password and using the captured user password to provide access to the encrypted disk image.
