grke / burp

burp - backup and restore program
http://burp.grke.net
Other
480 stars 79 forks source link

Restore Windows Server 2022 inetpub files error #927

Open jvdb87 opened 3 months ago

jvdb87 commented 3 months ago

Hello,

I have a issue with restoring files from a Windows Server to the same client. When i restore files i get the following error and files are 0kb.

zstrm inflate error: -3 transfer file returning: -1

Server: 2.0.54 ( i know old, but restoring linux works great)

Command: "Program Files\Burp\bin\burp.exe" -ar -b 2101 -r "D:/inetpub/webservernaam" -d d:/TEMP -f

grke commented 3 months ago

Hello,

Sorry you are having trouble.

"zstrm inflate error: -3" is a zlib "Z_DATA_ERROR", which might mean that it is looking for gzip headers, but didn't find them.

This might mean that burp has lost track of the compression status of the saved files, perhaps from moving between older versions of burp that had such a bug. Was this backup originally made with an older burp version?

To rule out some things, you can perhaps try to verify the files on the server to see whether the server side thinks they are ok:

burp -a v -b <backup> -r 'D:/inetpub/webservernaam'
jvdb87 commented 2 months ago

Hello, I have check the files on the windows server with your command and looks like okay:

2024-04-25 11:27:19: Burp\bin\burp.exe[5628] extra_comms_begin ok:autoupgrade:incexc:orig_client:uname:sincexc:counters_json:msg:csetproto:rshash=blake2: 2024-04-25 11:27:19: Burp\bin\burp.exe[5628] Server has protocol=0 (auto) 2024-04-25 11:27:19: Burp\bin\burp.exe[5628] Using protocol=1 2024-04-25 11:27:19: Burp\bin\burp.exe[5628] doing verify 2241:'D:/inetpub/webservername' 2024-04-25 11:27:19: Burp\bin\burp.exe[5628] doing verify confirmed

grke commented 2 months ago

Hello, That looks like the start of a verification. Did it reach the end and print a summary?