mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-06 00:10:04 +01:00
Move all notes and warnings to description text. Refine some small clarification. Do not use NOTE/WARNING unless there is a serious reason (data loss).
32 lines
989 B
Plaintext
32 lines
989 B
Plaintext
= cryptsetup-luksHeaderRestore(8)
|
|
:doctype: manpage
|
|
:manmanual: Maintenance Commands
|
|
:mansource: cryptsetup {release-version}
|
|
:man-linkstyle: pass:[blue R < >]
|
|
:COMMON_OPTIONS:
|
|
:ACTION_LUKSHEADERRESTORE:
|
|
|
|
== Name
|
|
|
|
cryptsetup-luksHeaderRestore - restore a binary backup of the LUKS header and keyslot area
|
|
|
|
== SYNOPSIS
|
|
|
|
*cryptsetup _luksHeaderRestore_ --header-backup-file <file> [<options>] <device>*
|
|
|
|
== DESCRIPTION
|
|
|
|
Restores a binary backup of the LUKS header and keyslot area from the specified file.
|
|
|
|
Using '-' as a filename reads the header backup from a file named '-'.
|
|
|
|
All keyslots will be replaced; only the passphrases from the backup will work afterward.
|
|
|
|
This command requires that the volume key size and data offset of the LUKS header and backup match.
|
|
Alternatively, the backup will also be written if the device has no LUKS header.
|
|
|
|
*<options>* can be [--header, --header-backup-file, --disable-locks].
|
|
|
|
include::man/common_options.adoc[]
|
|
include::man/common_footer.adoc[]
|