Noticed that the option to GZIP compress the backups in the Database Backup Manager has gone. It was there a few weeks ago! All it shows now is No Compression selected (and it cant be unclicked).
I have been adding mods but I am sure that I would have no reason to alter the backup.php file so I have no idea why its not offering the option.
Any ideas?
Cheers
Darro
Latest News: (loading..)
Wheres my backup gzip option gone?
Started by darro, Mar 14 2004, 20:57
3 replies to this topic
#1
Posted 14 March 2004, 20:57
#2
Posted 19 March 2004, 22:42
Anyone?
It would be appreciated.
Cheers
Darro
It would be appreciated.
Cheers
Darro
#3
Posted 05 June 2004, 08:28
I really don't know WHY this happens. Maybe it's a read issue
. The script is not able to determine that the gzip and zip files are available and therefore removes the compression options. A work around is to remove the question (as long as you are certain that the files actually exists at the locations defined in admin/includes/application_top.php. The workaround is as follows from lines 425 in admin/backup.php:
All that I have done is remove the questions... if (file_exists(LOCAL_EXE_GZIP)) and if (file_exists(LOCAL_EXE_ZIP)) from the code.
If anyone else has any insightful commentary I would appreciate it. Thanks.
// if (file_exists(LOCAL_EXE_GZIP)) $contents[] = array('text' => '<br>' . tep_draw_radio_field('compress', 'gzip') . ' ' . TEXT_INFO_USE_GZIP);
$contents[] = array('text' => '<br>' . tep_draw_radio_field('compress', 'gzip') . ' ' . TEXT_INFO_USE_GZIP);
// if (file_exists(LOCAL_EXE_ZIP)) $contents[] = array('text' => tep_draw_radio_field('compress', 'zip') . ' ' . TEXT_INFO_USE_ZIP);
$contents[] = array('text' => tep_draw_radio_field('compress', 'zip') . ' ' . TEXT_INFO_USE_ZIP);
All that I have done is remove the questions... if (file_exists(LOCAL_EXE_GZIP)) and if (file_exists(LOCAL_EXE_ZIP)) from the code.
If anyone else has any insightful commentary I would appreciate it. Thanks.
A brick wall is the only thing standing between me and my sanity!
#4
Posted 10 July 2004, 23:28
Mark,
Thanks for your quick fix... I haven't been bothered to look for it so have just been doing the backup, then logigng in via telnet and running gzip from there... I'm not sure why it doesn't work anymore. Works fine on my local server... though not on my remote.
I've checked that the files do exist... and your work-around works fine... so not sure what the issue is... Weird... ????
Thanks for your quick fix... I haven't been bothered to look for it so have just been doing the backup, then logigng in via telnet and running gzip from there... I'm not sure why it doesn't work anymore. Works fine on my local server... though not on my remote.
I've checked that the files do exist... and your work-around works fine... so not sure what the issue is... Weird... ????
"The price of success is perseverance. The price of failure comes much cheaper."














