2024-12-07 21:10:52 +00:00
|
|
|
# zpaq
|
|
|
|
|
|
|
|
> Incremental journaling backup utility and archiver.
|
2025-03-28 05:26:23 +02:00
|
|
|
> More information: <https://mattmahoney.net/dc/zpaqdoc.html>.
|
2024-12-07 21:10:52 +00:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
- Add a file or directory to a new or existing archive:
|
2024-12-07 21:10:52 +00:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`zpaq {{[a|add]}} {{path/to/archive.zpaq}} {{path/to/file_or_directory}}`
|
2024-12-07 21:10:52 +00:00
|
|
|
|
|
|
|
- Create or add to an encrypted archive:
|
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`zpaq {{[a|add]}} -k{{password}} {{path/to/archive.zpaq}} {{path/to/file_or_directory}}`
|
2024-12-07 21:10:52 +00:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
- Extract the most recent versions of files:
|
2024-12-07 21:10:52 +00:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`zpaq {{[x|extract]}} {{path/to/archive.zpaq}}`
|
2024-12-07 21:10:52 +00:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
- List the archive contents:
|
2024-12-07 21:10:52 +00:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`zpaq {{[l|list]}} {{path/to/archive.zpaq}}`
|
2024-12-07 21:10:52 +00:00
|
|
|
|
|
|
|
- Set the level of compression (higher means more compression but slower):
|
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`zpaq {{[a|add]}} {{path/to/archive.zpaq}} -m{{1|2|3|4|5}} {{path/to/file_or_directory}}`
|
2024-12-07 21:10:52 +00:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
- Extract the specified files from the archive that are not newer than the specified date:
|
2024-12-07 21:10:52 +00:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`zpaq {{[x|extract]}} {{path/to/archive.zpaq}} {{path/in/archive/to/extract}} -to {{path/to/output}} -until {{YYYY-MM-DD}}`
|