zpaq
Journaling archiver with high compression
TLDR
Create archive
SYNOPSIS
zpaq command archive[.zpaq] [files...] [options]
DESCRIPTION
zpaq is an archiver with high compression ratios and journaling capability. It uses context mixing and neural network-based prediction for compression, achieving ratios better than most conventional archivers.
ZPAQ's journaling feature makes it excellent for incremental backups. Each add creates a new version, and previous versions remain accessible. The -until flag extracts files as they existed at a specific time.
Archives are append-only by default - new versions add to the archive without modifying previous data. This provides some protection against corruption and allows versioned backups.
Compression levels range from 0 (store only) to 5 (maximum compression, slow).
PARAMETERS
-method level
Compression level (0-5, higher = better compression)-to path
Destination directory for extraction-all
Include hidden files and empty directories-not pattern
Exclude files matching pattern-only pattern
Include only matching files-until date
Extract version as of date-threads n
Number of threads to use-key password
Encrypt/decrypt with password
COMMANDS
add
Add or update files in archiveextract
Extract files from archivelist
List archive contentscompare
Compare archive with filesystemtest
Test archive integrity
CAVEATS
High compression levels are CPU-intensive and slow. Level 5 can be orders of magnitude slower than level 1.
ZPAQ format is not widely supported outside the zpaq tool itself. Consider compatibility needs.
Journaling archives can grow large over time. Use zpaq add -method 0 to consolidate.
Encryption is optional and must be specified during archive creation.
