partclone.-ext4-btrfs-fat32-xfs-... Verified current stable Not installed? Version Control

Partclone. Ext4 Btrfs Fat32 Xfs ... / Restore Partition From Image Linux

Restore Partition From Image Linux

Partclone. Ext4 Btrfs Fat32 Xfs ... command syntax to restore partition from image linux. Copyable examples, output expectations, and common mistakes.

$
Terminal
sudo partclone.<ext4|btrfs|fat32|xfs|...> -c -s <path/to/backup.img> -o </dev/sdXY>

Command Breakdown

What each part is doing

sudo
Base Command
The executable that performs this operation. Here it runs Partclone. Ext4 Btrfs Fat32 Xfs ... before the shell applies any redirect operators.
<ext4|btrfs|fat32|xfs|...>
ext4|btrfs|fat32|xfs|...
The value supplied for ext4|btrfs|fat32|xfs|....
-c
c| clone
The value supplied for c| clone.
-s
s| source
The value supplied for s| source.
<path/to/backup.img>
path to backup.img
The value supplied for path to backup.img.
-o
o| output
The value supplied for o| output.
</dev/sdXY>
dev sdXY
The value supplied for dev sdXY.
-c
Command Option
Tool-specific option used by this command invocation.
-s
Command Option
Tool-specific option used by this command invocation.
-o
Command Option
Tool-specific option used by this command invocation.

Alternative Approaches

Comparable commands in other tools

Alternative version control tools for the same job.