2025-02-21 11:33:31 +01:00
|
|
|
See the file INSTALL for compilation and installation instructions.
|
|
|
|
|
2025-02-21 10:09:52 +01:00
|
|
|
Description
|
|
|
|
|
2025-02-21 11:29:28 +01:00
|
|
|
Lziprecover is a data recovery tool and decompressor for files in the lzip
|
2025-02-21 11:33:08 +01:00
|
|
|
compressed data format (.lz). Lziprecover also provides Forward Error
|
|
|
|
Correction (FEC) able to repair any kind of file.
|
2025-02-21 11:27:50 +01:00
|
|
|
|
2025-02-21 11:29:28 +01:00
|
|
|
Lziprecover can remove the damaged members from multimember files, for
|
|
|
|
example multimember tar.lz archives.
|
|
|
|
|
|
|
|
Lziprecover provides random access to the data in multimember files; it only
|
|
|
|
decompresses the members containing the desired data.
|
|
|
|
|
2025-02-21 11:26:09 +01:00
|
|
|
Lziprecover is not a replacement for regular backups, but a last line of
|
|
|
|
defense for the case where the backups are also damaged.
|
|
|
|
|
2025-02-21 11:30:52 +01:00
|
|
|
A nice feature of the lzip format is that a corrupt byte is easier to repair
|
|
|
|
the nearer it is from the beginning of the file. Therefore, with the help of
|
|
|
|
lziprecover, losing an entire archive just because of a corrupt byte near
|
|
|
|
the beginning is a thing of the past.
|
2025-02-21 11:21:20 +01:00
|
|
|
|
2025-02-21 11:30:52 +01:00
|
|
|
Compression may be good for long-term archiving. For compressible data,
|
|
|
|
multiple compressed copies may provide redundancy in a more useful form and
|
|
|
|
may have a better chance of surviving intact than one uncompressed copy
|
2025-02-21 11:32:14 +01:00
|
|
|
using the same amount of storage space. This is especially true if the
|
|
|
|
format provides recovery capabilities like those of lziprecover, which is
|
|
|
|
able to find and combine the good parts of several damaged copies.
|
2025-02-21 11:27:50 +01:00
|
|
|
|
2025-02-21 11:30:52 +01:00
|
|
|
Lziprecover is able to recover or decompress files produced by any of the
|
2025-02-21 11:31:26 +01:00
|
|
|
compressors in the lzip family: lzip, plzip, minilzip/lzlib, clzip, and
|
2025-02-21 11:30:52 +01:00
|
|
|
pdlzip.
|
2025-02-21 11:17:33 +01:00
|
|
|
|
2025-02-21 11:33:31 +01:00
|
|
|
GNU ddrescue provides data recovery capabilities which nicely complement
|
|
|
|
those of lziprecover. If the cause of file corruption is a damaged medium,
|
|
|
|
the combination GNU ddrescue + lziprecover is the recommended option for
|
|
|
|
recovering data from damaged files.
|
2025-02-21 11:17:33 +01:00
|
|
|
|
2025-02-21 11:30:52 +01:00
|
|
|
If a file is too damaged for lziprecover to repair it, all the recoverable
|
2025-02-21 11:33:08 +01:00
|
|
|
data in all members of the file can be extracted with the command
|
|
|
|
'lziprecover -cd --ignore-errors file.lz > file'.
|
2025-02-21 10:09:52 +01:00
|
|
|
|
|
|
|
When recovering data, lziprecover takes as arguments the names of the
|
|
|
|
damaged files and writes zero or more recovered files depending on the
|
2025-02-21 11:30:52 +01:00
|
|
|
operation selected and whether the recovery succeeded or not. The damaged
|
|
|
|
files themselves are kept unchanged.
|
2025-02-21 10:09:52 +01:00
|
|
|
|
2025-02-21 11:30:52 +01:00
|
|
|
When decompressing or testing file integrity, lziprecover behaves like lzip
|
|
|
|
or lunzip.
|
2025-02-21 10:09:52 +01:00
|
|
|
|
2025-02-21 11:30:52 +01:00
|
|
|
The lziprecover package also includes unzcrash, a program written to test
|
|
|
|
robustness to decompression of corrupted data, inspired by unzcrash.c from
|
|
|
|
Julian Seward's bzip2. Type 'make unzcrash' in the lziprecover source
|
|
|
|
directory to build it. Then try 'unzcrash --help'.
|
2025-02-21 10:13:11 +01:00
|
|
|
|
2025-02-21 11:33:31 +01:00
|
|
|
Lziprecover uses Arg_parser for command-line argument parsing:
|
|
|
|
http://www.nongnu.org/arg-parser/arg_parser.html
|
|
|
|
|
2025-02-21 10:16:51 +01:00
|
|
|
|
2025-02-21 11:33:31 +01:00
|
|
|
Copyright (C) 2009-2025 Antonio Diaz Diaz.
|
2025-02-21 10:13:11 +01:00
|
|
|
|
|
|
|
This file is free documentation: you have unlimited permission to copy,
|
2025-02-21 11:30:52 +01:00
|
|
|
distribute, and modify it.
|
2025-02-21 10:13:11 +01:00
|
|
|
|
2025-02-21 11:32:35 +01:00
|
|
|
The file Makefile.in is a data file used by configure to produce the Makefile.
|
|
|
|
It has the same copyright owner and permissions that configure itself.
|