2025-02-21 10:09:52 +01:00
|
|
|
Description
|
|
|
|
|
|
|
|
Lziprecover is a data recovery tool and decompressor for files in the
|
2025-02-21 11:17:40 +01:00
|
|
|
lzip compressed data format (.lz), able to repair slightly damaged
|
2025-02-21 11:23:19 +01:00
|
|
|
files, produce a correct file by merging the good parts of two or more
|
|
|
|
damaged copies, extract data from damaged files, decompress files and
|
|
|
|
test integrity of files.
|
2025-02-21 11:17:40 +01:00
|
|
|
|
2025-02-21 11:23:19 +01:00
|
|
|
The lzip file format is designed for data sharing and long-term
|
|
|
|
archiving, taking into account both data integrity and decoder
|
|
|
|
availability:
|
2025-02-21 11:19:58 +01:00
|
|
|
|
|
|
|
* The lzip format provides very safe integrity checking and some data
|
|
|
|
recovery means. The lziprecover program can repair bit-flip errors
|
|
|
|
(one of the most common forms of data corruption) in lzip files,
|
|
|
|
and provides data recovery capabilities, including error-checked
|
|
|
|
merging of damaged copies of a file.
|
|
|
|
|
|
|
|
* The lzip format is as simple as possible (but not simpler). The
|
|
|
|
lzip manual provides the code of a simple decompressor along with a
|
|
|
|
detailed explanation of how it works, so that with the only help of
|
|
|
|
the lzip manual it would be possible for a digital archaeologist to
|
|
|
|
extract the data from a lzip file long after quantum computers
|
|
|
|
eventually render LZMA obsolete.
|
|
|
|
|
2025-02-21 11:23:19 +01:00
|
|
|
* Additionally the lzip reference implementation is copylefted, which
|
|
|
|
guarantees that it will remain free forever.
|
2025-02-21 10:09:52 +01:00
|
|
|
|
2025-02-21 11:21:25 +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 10:09:52 +01:00
|
|
|
Lziprecover is able to recover or decompress files produced by any of
|
|
|
|
the compressors in the lzip family; lzip, plzip, minilzip/lzlib, clzip
|
2025-02-21 11:17:40 +01:00
|
|
|
and pdlzip.
|
|
|
|
|
|
|
|
If the cause of file corruption is damaged media, the combination
|
|
|
|
GNU ddrescue + lziprecover is the best option for recovering data from
|
|
|
|
multiple damaged copies.
|
|
|
|
|
|
|
|
If a file is too damaged for lziprecover to repair it, all the
|
2025-02-21 11:19:58 +01:00
|
|
|
recoverable data in all members of the file can be extracted in one step
|
|
|
|
with the '-D' option.
|
2025-02-21 10:09:52 +01:00
|
|
|
|
2025-02-21 10:13:18 +01:00
|
|
|
Lziprecover is able to efficiently extract a range of bytes from a
|
|
|
|
multi-member file, because it only decompresses the members containing
|
|
|
|
the desired data.
|
|
|
|
|
|
|
|
Lziprecover can print correct total file sizes and ratios even for
|
|
|
|
multi-member files.
|
|
|
|
|
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
|
|
|
|
operation selected and whether the recovery succeeded or not. The
|
|
|
|
damaged files themselves are never modified.
|
|
|
|
|
|
|
|
When decompressing or testing file integrity, lziprecover behaves like
|
|
|
|
lzip or lunzip.
|
|
|
|
|
2025-02-21 11:17:40 +01:00
|
|
|
To give you an idea of its possibilities, when merging two copies, each
|
2025-02-21 10:09:52 +01:00
|
|
|
of them with one damaged area affecting 1 percent of the copy, the
|
|
|
|
probability of obtaining a correct file is about 98 percent. With three
|
2025-02-21 11:17:40 +01:00
|
|
|
such copies the probability rises to 99.97 percent. For large files (a
|
|
|
|
few MB) with small errors (one sector damaged per copy), the probability
|
2025-02-21 11:23:19 +01:00
|
|
|
approaches 100 percent even with only two copies. (Supposing that the
|
|
|
|
errors are randomly located inside each copy).
|
2025-02-21 10:09:52 +01:00
|
|
|
|
2025-02-21 11:17:40 +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 10:13:18 +01:00
|
|
|
|
2025-02-21 11:17:40 +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:18 +01:00
|
|
|
|
2025-02-21 11:11:34 +01:00
|
|
|
|
2025-02-21 11:21:25 +01:00
|
|
|
Copyright (C) 2009-2014 Antonio Diaz Diaz.
|
2025-02-21 10:13:18 +01:00
|
|
|
|
|
|
|
This file is free documentation: you have unlimited permission to copy,
|
|
|
|
distribute and modify it.
|
|
|
|
|
|
|
|
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.
|