-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with the -stdin option #40
Comments
The stdin is rewritted into 56.2 This version include a full size dd (!) for Windows to make images of drives (with admin privileges of course) creating a batch file zpaqfranz a d:\thebackup.zpaq c: -dd The very last version (not released yet) image drive without dd and stdin, reading directly disk sectors |
Ps even with version 56.1 should work (slow) Something | zpaqfranz a thearchive.zpaq NAMEOFSTREAM -stdin Then into thearchive.zpaq a NAMEOFSTREAM (or whatever) file will be stored |
Hello Mr. Corbelli, Thanks for your hard work. Much appreciated. Sorry if I missed the parameter specifiying the stream name. With your help, I managed to get it work :
I will do other testings on the dd capability of zpaqfranz. Thanks again, Erol |
As said 56.2 is MUCH faster |
Hello Mr. Corbelli, Thanks, I can download the source code : D:>wget http://www.francocorbelli.it/zpaqfranz.cpp Any link to your website to receive the latest executable? |
I am not sure, but you can try I really do not remember if build script upload the exe too (I am now on smartphone) |
Hello Mr. Corbelli, Thanks, I downloaded the latest executable from your website but upon running, it reports :
OS : Windows 10 64-bit Version 10.0.19044.2251 I decided to build the executable with Msys2 :
After some warning messages, Msys2 managed to compile the source code :
The executable :
I will test the new exe built with Msys2. |
I confirm that the .EXE is not good You need to compile from the .cpp (this IS good) with something like
Or even
|
Hello Mr.Corbelli,
The make file is producing the smallest executable.
Thanks for your help. |
In the comment (of source code) you will find the suggested way to compile zpaqfranz
|
If you want please leave a review on |
Hello Mr. Corbelli, Thanks, You have a new star in your GitHub account. I will post a review to the SourceForge after creating an account. Here is my latest report. Compiling the source code with Msys2 :
The static linking eliminates the extra dependencies like the new universal C run-time library. After booting off from a Windows PE environment designed for Windows 10, I shrinked the root partition hosting the operating system to reduce the archiving time. Operating system backup to Network drive ( WinPE system ) :
Operating system backup to Ramdisk ( WinPE system ) :
The final zpaq archive : 29.11.2022 22:15 8.671.219.249 Win10.zpaq How to extract the zpaq archive after formatting the C partition?
The image file cannot be opened with 7-Zip : 30.11.2022 01:09 24.047.497.216 image_c.img I guess you need to add an option to extract directly the operating system backup to the drive C: ( or any other one. ) |
I am getting a lot of problems with windows,unable to report correctly the size of a partition (!) |
Simply, you can't :)
Into the future (aka: no way :) a restore of C:
|
Hello Mr. Corbelli, Thanks for your efforts, much appreciated. I will try your new release. In order to avoid the additional step to restore a complete raw image, kindly could please bring back the -stdin option? A separate dd tool could do the job with the condition that you add an extra -stdout option to your tool. |
The -stdin is present, as the -dd (the embedded dd) |
BTW it is impossible because the output of zpaq is NOT streamed, but random (seeked) Basically the archives (.zpaq files) are read sequentially, from beginning to end Also, incidentally, explains why the extraction of complex archives on systems with magnetic disks is not as fast as SSDs (where seeks are much faster) It is possible, in theory, to do the opposite Very complex, very slow and, actually, I don't find it particularly interesting at the moment (actually yes, but to test the archives, rather than to extract them) |
Hello Mr. Corbelli, Thanks for your explanation, I understand that data stored in the zpaq archives is not sequential. Here is my new report : Booting off from WinPE and creating a new virtual drive with Microsoft's VssSampleProvider : https://learn.microsoft.com/en-us/windows/win32/vss/vsssampleprovider-tool-and-sample
Formatting the new drive and copying some files and directories. The virtual drive is identified with the symbol H: Testing the new release of zpaqfranz :
Extracting the raw image file from the zpaq archive :
With 7-Zip, I can extract all the files and directories from the image file image_h.img Removing the virtual drive :
Thanks for the new release. |
Hello Mr. Corbelli,
The new -stdin option introduced with the release v56.1j does not work . Here is a quick test.
Creating a simple file to test dd for Windows :
Archiving the text file with zpaqfranz does not have any effect, I get only the options presenting how to use zpaqfranz.exe :
output.zpaq is not generated. The statements :
zpa0+1 records in
q0+1 records out
are not very meaningful since there is no any output.
Thanks for your support.
The text was updated successfully, but these errors were encountered: