Examples add - fcorbelli/zpaqfranz GitHub Wiki
Starting from build 52 (by default) zpaqfranz will store the CRC-32 and XXH3 codes of each file, without significant slowdown. This information, if present, can be shown with appropriate switches of the command l (list). See related examples
Add two folders to archive, default compression:
zpaqfranz a z:\1.zpaq c:\data\* d:\pippo\*
Add one folder, NO compression (only deduplication):
zpaqfranz a z:\1.zpaq c:\nz\* -m0
Add one folder, better compression
zpaqfranz a z:\1.zpaq c:\nz\* -m2
Add folder, maximum compress:
zpaqfranz a z:\c.zpaq c:\nz\ -m5
Add folder (c:\zpaqfranz) => renaming into y:\mynewplace:
zpaqfranz a z:\1.zpaq c:\zpaqfranz\* -find c:/zpaqfranz/ -replace y:/mynewplace/ -noeta
do not show ETA
Add two files:
zpaqfranz a z:\4.zpaq.zpaq c:\vecchio.sql r:\1.txt Note: files, not folders
Add folder, with encryption:
zpaqfranz a z:\b.zpaq c:\nz\ -key mygoodpassword
Add a file, ignoring date and time, no compression, brief output and verify:
zpaqfranz a z:\test\backup\thecopy.zpaq e:\parte\container.truecrypt -force -method 0 -pakka -test
When running with TrueCrypt/VeraCrypt volume you need to enforce the add(), disabling compression (useless with encrypted archive)
Add folder, storing full hash SHA1:
zpaqfranz a z:\2.zpaq c:\nz\ -sha1 Deprecated: the SHA-1 code of each file will be stored (as in versions prior to 52), but with a significant slowdown.
Add folder, storing full hash SHA256, EARLY CHECK for SHA-1 collisions:
zpaqfranz a z:\2.zpaq c:\nz\ -sha256 -verify -verify will BLOCK adding in case of SHA-1 collisions (slows ~+10%). Otherwise a control t (test) needed
Add folder, then verification:
zpaqfranz a z:\3.zpaq c:\nz\ -test
Add just like zpaq 7.15:
zpaqfranz a z:\5.zpaq c:\audio -715
Disable zpaqfranz extensions. Do not store CRC-32 and XXH3 (faster), do not ignore .zfs and ADS etc
Add WITHOUT CRC-32/hash:
zpaqfranz a z:\e.zpaq c:\nz\ -nochecksum Do not store CRC-32 and XXH3 (fastest run), ignore .zfs and ADS etc
Add and mark the versions with ASCII text:
zpaqfranz a z:\6.zpaq c:\data\* -comment first_copy
zpaqfranz a z:\6.zpaq c:\data\* -comment second_copy
zpaqfranz a z:\6.zpaq c:\data\* -comment third_copy
Add by a VSS (Windows admin):
zpaqfranz a z:\7.zpaq c:\users\utente\* -vss
_Only on Windows, will DELETE ALL VSS on C:_
Add folder with timestamping (zfs):
zpaqfranz a z:\8.zpaq c:\data\* -timestamp 2021-12-30_01:03:04
Please note: versions MUST be in monotonic increasing order. Use appropriate zfSnap or whatever
Create multipart archive:
zpaqfranz a "z:\9_????.zpaq" c:\data\
In this example with 4 digits (because 4 question marks)
Create indexed multipart archive:
zpaqfranz a "z:\a_???.zpaq" c:\data\ -index z:\a_000.zpaq
Store the filelist VFILE:
zpaqfranz a z:\d.zpaq c:\nz\ -filelist
The VirtualFile is a .txt with all the files added to version X. Can be used with x -filelist to quickly create a list, faster than command l (list) for very BIG archives
Add one folders to nothing, default compression:
zpaqfranz a "" c:\nz\*
Note the empty filename "". Typycally for debug, benchmarking or developing
Add data to archive z:\1.zpaq. If become bigger than 2000000000 move to y:\archive and start from scratch
zpaqfranz a z:\1.zpaq c:\nz\ -freeze y:\archived -maxsize 2000000000
Note: the archive will be renamed if already exists, NO overwrite. So z:\1.zpaq => y:\archived\1.zpaq . On the next round z:\1.zpaq => y:\archived\1_0000001.zpaq