# US 2012/0260049 A1 · Cloning method and system

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

- Number: US 2012/0260049 A1
- Document ID: US20120260049A1
- Status: Published application
- Kind: A1
- Application number: 13/082,629
- Filed: 2011-04-08
- Published: 2012-10-11
- Earliest claimed: 2011-04-08
- Assignees: Nti AG
- Inventors: WILLIAM WEIHAN YAO; RAYMOND PATRICK MCGOLDRICK; HIROSHI NISHIMURA; SANFORD TANG
- Web page: https://patentgrep.com/patent/US20120260049A1

## CPC

- G06F 11/1458: {Management of the backup or restore process}
- G06F 11/1456: {Hardware arrangements for backup}
- G06F 11/1446: Point-in-time backing up or restoration of persistent data
- G06F 11/1451: {by selection of backup contents}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The invention is directed to a method and a system for cloning a source drive to a target drive. A cloning program launches in a host device, and an amount of partitions and a size of each said partition of the source drive are obtained. The size of each corresponding partition in the target drive is adaptively determined according to a size of the source drive and a size of the target drive. The host device is rebooted and contents of the source drive are copied to the target drive.

## Claims

### Claim 1

A method for cloning a source drive to a target drive, comprising:
launching a cloning program in a host device;
obtaining an amount of partitions and a size of each said partition of the source drive;
adaptively determining a size of each corresponding partition in the target drive according to a size of the source drive and a size of the target drive;
rebooting the host device; and
copying contents of the source drive to the target drive.

### Claim 2 (depends on 1)

The method of claim 1, wherein the source drive is a hard disk drive (HDD) and the host device is a computer.

### Claim 3 (depends on 1)

The method of claim 1, wherein the target drive is a solid state drive (SSD), a Universal Serial Bus (USB) drive or a USB flash drive.

### Claim 4 (depends on 1)

The method of claim 1, before obtaining the amount and the sizes of partitions, further comprising:
selecting a drive as the source drive and a drive as the target drive.

### Claim 5 (depends on 1)

The method of claim 1, wherein the amount and the sizes of partitions of the source drive are obtained from a Master Boot Record (MBR).

### Claim 6 (depends on 5)

The method of claim 5, wherein the MBR comprises a partition table that records a start address and an end address of each said partition.

### Claim 7 (depends on 1)

The method of claim 1, wherein in the step of adaptively determining the size of each said corresponding partition in the target drive, at least one of the partitions of the target drive has a size greater than the corresponding partition of the source drive when the size of the target drive is greater than the size of the source drive.

### Claim 8 (depends on 1)

The method of claim 1, in the step of adaptively determining the size of each said corresponding partition in the target drive, at least one of the partitions of the target drive has a size smaller than the corresponding partition of the source drive when the size of the target drive is smaller than the size of the source drive.

### Claim 9 (depends on 5)

The method of claim 5, before rebooting the host device, further comprising:
providing a modified MBR for booting into the target drive according to the sizes of the adaptively determined partitions of the target drive.

### Claim 10 (depends on 1)

The method of claim 1, wherein in the step of rebooting the host device, the host is rebooted into an environment compliant with the target drive.

### Claim 11 (depends on 1)

The method of claim 1, after copying the contents of the source drive to the target drive, further comprising:
shutting down the host drive.

### Claim 12 (depends on 1)

The method of claim 1, wherein said adaptively determining the size of each corresponding partition in the target drive according to the size of the source drive and the size of the target drive is performed without user intervention.

### Claim 13

A cloning system, comprising:
a target drive; and
a source drive disposed in a host device, which comprises a cloning program capable of being launched to clone the source drive to the target drive by copying contents of the source drive to the target drive;
wherein the source drive has a plurality of partitions and the target drive has a plurality of partitions corresponding to the partitions of the source drive;
wherein a size of at least one corresponding partition in the target drive is adaptively determined according to a size of the source drive and a size of the target drive.

### Claim 14 (depends on 13)

The system of claim 13, wherein the target drive is a solid state drive (SSD), a Universal Serial Bus (USB) drive or a USB flash drive.

### Claim 15 (depends on 13)

The system of claim 13, wherein the source drive comprises a Master Boot Record (MBR) that provides an amount of the partitions and a size of each said partition of the source drive.

### Claim 16 (depends on 15)

The system of claim 15, wherein the MBR comprises a partition table that records a start address and an end address of each said partition.

### Claim 17 (depends on 13)

The system of claim 13, wherein at least one of the partitions of the target drive is adaptively determined to have a size greater than the corresponding partition of the source drive when the size of the target drive is greater than the size of the source drive.

### Claim 18 (depends on 13)

The system of claim 13, wherein at least one of the partitions of the target drive is adaptively determined to have a size smaller than the corresponding partition of the source drive when the size of the target drive is smaller than the size of the source drive.

### Claim 19 (depends on 13)

The system of claim 13, before copying the contents of the source drive to the target drive, wherein the host device is rebooted.

### Claim 20 (depends on 13)

The system of claim 13, wherein the size of each corresponding partition in the target drive is adaptively determined according to the size of the source drive and the size of the target drive without user intervention.
