booster Posted November 25, 2004 Posted November 25, 2004 Hello. Slightly weird situation here, I have some databases on a server where I can select an option in osc admin panel (database backup) to backup using gzip. However using another server that gzip option isn't displayed as an option in osc's admin. Anyone know why this should be the case? I'd like to use gzip for the backups to save some disk space. Dave.
booster Posted November 26, 2004 Author Posted November 26, 2004 Hello. Slightly weird situation here, I have some databases on a server where I can select an option in osc admin panel (database backup) to backup using gzip. However using another server that gzip option isn't displayed as an option in osc's admin. Anyone know why this should be the case? I'd like to use gzip for the backups to save some disk space. Dave. <{POST_SNAPBACK}> I traced the problem to the default directory structure in admin/includes/application_top.php. //define('LOCAL_EXE_GZIP', '/usr/bin/gzip'); define('LOCAL_EXE_GZIP', '/bin/gzip'); //define('LOCAL_EXE_GUNZIP', '/usr/bin/gunzip'); define('LOCAL_EXE_GUNZIP', '/bin/gunzip'); You can see above the changes I made to suit the layout that the "problem" server gave. Basically the usr directory wasn't in the path to gzip so I removed it. Dave.
necrolust Posted January 23, 2005 Posted January 23, 2005 well... For me it worked until few days ago, and I had all may backups in gzip compression. But now the gzip compression option is missing. don't know why... ==========
armadillo Posted December 13, 2005 Posted December 13, 2005 I traced the problem to the default directory structure in admin/includes/application_top.php. //define('LOCAL_EXE_GZIP', '/usr/bin/gzip'); define('LOCAL_EXE_GZIP', '/bin/gzip'); //define('LOCAL_EXE_GUNZIP', '/usr/bin/gunzip'); define('LOCAL_EXE_GUNZIP', '/bin/gunzip'); You can see above the changes I made to suit the layout that the "problem" server gave. Basically the usr directory wasn't in the path to gzip so I removed it. Dave. The older version (2.1) used that option but all of the 2.2MS2 that I have tried does not. I did modify a 2.1 version to work on MS2 and it did fine. I backed up and restored my db using GZIP, ZIP, and pure sql. I posted it as a contrib but it was deleted the first time. I tried again and it's there now, so I probably did something incorrectly in posting it. www.djscollectables.com
AlanR Posted December 13, 2005 Posted December 13, 2005 Works fine for me with a stock 2.2MS2 I did have to change the directory path to remove /usr. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.