Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Restoring backup


Guest

Recommended Posts

Posted

I have a live store wich have been online for aprox 3 years.

 

Becouse I want to do a couple major changes to my site, I have descided to go for a "development store".

I have made a development store, and uploaded most from the old site to the new via ftp. However when I try to restore the database, nothing happens. The .sql file is aprox 13mb. I have also tried to do it via mysql but Im not having any succsess... Anybody know what the problem is?

Posted

You're trying to use the osC restore tool?

 

Use phpMyAdmin but compress the file before you attempt the import. sql files are ideal for compression with lots of repetitive text. Depending on the method of compression you'll reduce the file size by up to 90% or even less (bzip2). phpMyAdmin understands and handles compressed files.

 

Also, if you have your own copy of phpMyAdmin on your server you can define server based import and export directories. This lets you upload the file to the server via ftp (which may be slow) then import to the db from the server based file.

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)

Posted
You're trying to use the osC restore tool?

 

Use phpMyAdmin but compress the file before you attempt the import. sql files are ideal for compression with lots of repetitive text. Depending on the method of compression you'll reduce the file size by up to 90% or even less (bzip2). phpMyAdmin understands and handles compressed files.

 

Also, if you have your own copy of phpMyAdmin on your server you can define server based import and export directories. This lets you upload the file to the server via ftp (which may be slow) then import to the db from the server based file.

 

 

Thank you for your help.

What is "bzip"?

 

I have tried the osC restore tool,

Posted
Thank you for your help.

What is "bzip"?

 

I have tried the osC restore tool,

You'll have much better luck with phpMyAdmin.

 

bzip is just a somewhat newer form of compression used by *nix systems. It creates smaller files than gzip by about 15%. phpMyAdmin understands it when files are imported.

 

Your 13Mb file may be less than 1Mb once compressed.

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)

Posted
You'll have much better luck with phpMyAdmin.

 

bzip is just a somewhat newer form of compression used by *nix systems. It creates smaller files than gzip by about 15%. phpMyAdmin understands it when files are imported.

 

Your 13Mb file may be less than 1Mb once compressed.

 

thank you again, highly apriciated!

Is bzip something I download? If so, where?

 

Thank you again.

Archived

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

×
×
  • Create New...