2025-08-03 15:10:59 +03:00
|
|
|
# partclone
|
|
|
|
|
|
|
|
> Copy and restore partitions to and from an image while disregarding empty blocks.
|
2025-08-10 08:57:49 -03:00
|
|
|
> More information: <https://manned.org/partclone>.
|
2025-08-03 15:10:59 +03:00
|
|
|
|
|
|
|
- Copy a partition into an image:
|
|
|
|
|
|
|
|
`sudo partclone.{{ext4|btrfs|fat32|xfs|...}} {{[-c|--clone]}} {{[-s|--source]}} {{/dev/sdXY}} {{[-o|--output]}} {{path/to/backup.img}}`
|
|
|
|
|
|
|
|
- Restore a partition from an image:
|
|
|
|
|
|
|
|
`sudo partclone.{{ext4|btrfs|fat32|xfs|...}} {{[-c|--clone]}} {{[-s|--source]}} {{path/to/backup.img}} {{[-o|--output]}} {{/dev/sdXY}}`
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
`partclone.{{ext4|btrfs|fat32|xfs|...}} {{[-h|--help]}}`
|