Table of Contents

Ubuntu - Backups - Backup using dd

WARNING: The dd command does block to block cloning, even with space that is not currently used.

  • Therefore a bigger storage device might be needed when restoring.

Backup

Backup sda1 to sdb1.

dd if=/dev/sda1 of/dev/sdb1

Restore

dd if=/dev/sdb1 of=/dev/sda1