Full-disk backup and restore
This page describes how to back up and restore full disks and individual partitions with Duplicati
Duplicati supports backing up an entire disk, or individual partitions on a disk, as the backup source. Unlike a regular file-based backup, a full-disk backup reads the disk directly and also captures the disk geometry, such as the partition table and boot information. This makes it possible to restore the backup onto a blank replacement disk and end up with a bootable system, without reinstalling the operating system first.
Key characteristics
Disk-level source: Back up a complete disk, including the partition layout, or pick just the partitions you need.
Flexible restore: Restore disk-to-disk, partition-to-partition, or a partition from a full-disk backup onto another partition.
File extraction: Restore files from within a disk backup to a regular folder, without writing to a disk.
Filter support: Regular filters can be applied to exclude content from the partitions being backed up.
Reading raw disks requires elevated privileges. Run Duplicati as a service or with administrator/root permissions, otherwise the backup or restore will fail.
Setting up a full-disk backup
To create a full-disk backup, set up a backup following the regular steps. On the "Source Data" page, click the "Add local disk" button to browse local disks:


Selecting the disk itself backs up the entire disk, including the partition table and all partitions. Selecting a single partition backs up only that partition, which is functionally the same as selecting the full disk and filtering out the unwanted partitions, but more intuitive when only one partition is needed.
Once a disk has been adedd, it will show up in the source tree, where you can expand it to see available partitions:


You can click the individual partitions to toggle their inclusion, if you only want specific partitions.
After choosing the source, continue with the schedule and retention settings as for a regular backup.
Restoring a full-disk backup
A full-disk backup is restored through the regular restore flow, either from the existing backup configuration or directly from the backup files.
When choosing what to restore, the backup version lists the disk with its partitions. Select the disk to restore everything, or expand it and select only the partitions you need:


On the "Restore options" page, choose where the restored data should go:


Target disk: Writes the backup back to a physical disk or partition. Pick the target from the tree:
Restoring a disk to a disk recreates the partition table and restores the partitions, producing a bootable disk.
Restoring a partition to a partition writes only that partition, which is useful when the disk contains multiple partitions and only one should be restored.
Restoring a partition to a disk creates a new partition on the target disk as needed.
Local file system: Extracts the files from within the disk backup to a regular folder. This is useful for forensics or for recovering data without touching any disk.
Restoring to a target disk or partition overwrites its contents. Double-check that you have selected the correct target, and make sure the target is at least as large as the source. You cannot restore over the disk that the running operating system is on, so a full system restore is usually performed by booting from recovery media or by attaching the target disk to another machine.
When satisfied with the settings, click "Submit" and the restore process will write the data to the selected target.
Last updated
Was this helpful?

