Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

GZIP doesn't work in Backup


pedro.antunes

Recommended Posts

Hi guys,

 

I have a problem on my server: when I backup my database in osCommerce it's doesn't get compressed even if I select the Use gZip option.

 

Here's a little of my story so far:

At first, the option to compress the backup file using gZip was not appearing on the Backup page. By analising the php of this file I found that if gzip file is not found the option does not appear. Then I found that my server provider has zlib disabled by default, and the only way to enable it is by using a php.ini file and chancing these lines:

zlib.output_compression = On

zlib.output_compression_level = 5

So I uploaded one php.ini file and now the option appears in the backup.php file.

I tried my page www.mysite.com/admin/login.php on the server http://www.gidnetwork.com/tools/gzip-test.php and it says the page is compressed so I guess gzip is working. But when I make the backup setting the "Use gzip" option I just get a pure SQL file. If I also check the "Download only" option I download a 0 byte .gz file.

 

Is there any trick to gzip the backup files? Am I forgetting something?

 

br

Link to comment
Share on other sites

There are a number of issues with the default backup util.

 

Use AutoBackup Database in Admin http://addons.oscommerce.com/info/2314

And Database backup manager http://addons.oscommerce.com/info/5769

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...