LinuxCommandLibrary

ntfsclone

clones NTFS partitions efficiently

TLDR

Clone NTFS partition

$ ntfsclone --output [clone.img] [/dev/sda1]
copy
Clone to file (compressed)
$ ntfsclone --save-image --output [clone.img.gz] [/dev/sda1] | gzip
copy
Restore from image
$ ntfsclone --restore-image --output [/dev/sda1] [clone.img]
copy
Clone metadata only
$ ntfsclone --metadata --output [meta.img] [/dev/sda1]
copy

SYNOPSIS

ntfsclone [options] source

DESCRIPTION

ntfsclone clones NTFS partitions efficiently. Copies only used clusters.
The tool creates space-efficient backups. Supports special image format for compression.

PARAMETERS

-o, --output FILE

Output file or device.
-O, --overwrite
Overwrite existing file.
-s, --save-image
Save as special image format.
-r, --restore-image
Restore from special image.
-m, --metadata
Clone only metadata.
--rescue
Continue on read errors.
--help
Display help information.

CAVEATS

Part of ntfs-3g. Special image not mountable. Destination must be same size or larger.

HISTORY

ntfsclone was developed as part of ntfs-3g for efficient NTFS backup and restore.

SEE ALSO

ntfsresize(1), ntfs-3g(1), dd(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community