Closed (won't fix)
Project:
Backup and Migrate
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 Feb 2012 at 20:19 UTC
Updated:
29 May 2012 at 15:37 UTC
Jump to comment: Most recent file
Comments
Comment #1
mbutcher commentedThis patch provides the following:
Comment #2
ronan commentedBeautiful, thanks! Committed to dev.
Comment #4
ronan commentedThis patch seems to be causing problems for some users: #1564408: Gzip backups are compressed twice when downloaded
It works fine for me so I'm not sure what's going on in those cases or how to reproduce the problem.
Comment #5
ropaolle commentedI am still not sure fopen/fclose should be used when gzip or bzip files are created, maybe somebody can confirm that. I tested this by compressing the db with Backup and migrate and the trying to open it with WinRar. Gzip files can't be open at all. Bzip files can be open but WinRar don't know the size of the content so it may have some problem to read something in the header. The only way I can make gzip/bzip work is to use corresponding open/close function.
Comment #6
ronan commentedI have rolled this back because it was causing problems for a lot of people.
I'm not sure how necessary this change is since compression is done on temporary files and I imagine most site setups have use a local directory for temporary files. Please reopen if I'm wrong on this assumption and we can maybe find a way around the issue.
Thanks