diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 08:06:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 08:06:26 +0000 |
commit | 1660d4b7a65d9ad2ce0deaa19d35579ca4084ac5 (patch) | |
tree | 6cf8220b628ebd2ccfc1375dd6516c6996e9abcc /man/cryptsetup-luksHeaderRestore.8.adoc | |
parent | Initial commit. (diff) | |
download | cryptsetup-1660d4b7a65d9ad2ce0deaa19d35579ca4084ac5.tar.xz cryptsetup-1660d4b7a65d9ad2ce0deaa19d35579ca4084ac5.zip |
Adding upstream version 2:2.6.1.upstream/2%2.6.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man/cryptsetup-luksHeaderRestore.8.adoc')
-rw-r--r-- | man/cryptsetup-luksHeaderRestore.8.adoc | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/man/cryptsetup-luksHeaderRestore.8.adoc b/man/cryptsetup-luksHeaderRestore.8.adoc new file mode 100644 index 0000000..e7fa8aa --- /dev/null +++ b/man/cryptsetup-luksHeaderRestore.8.adoc @@ -0,0 +1,34 @@ += 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. + +*NOTE:* Using '-' as filename reads the header backup from a file named '-'. + +*<options>* can be [--header, --header-backup-file, --disable-locks]. + +*WARNING:* Header and 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 already on the device and of the header backup match. +Alternatively, if there is no LUKS header on the device, the backup will +also be written to it. + +include::man/common_options.adoc[] +include::man/common_footer.adoc[] |