Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Backups


Guest

Recommended Posts

Hello chaps!! (and chapesses).

 

I have done just about all I need now to customise my osc site, however I need to find a way to backup all my hard work and save it all on my PC. How do I do this. I am worried that, for whatever reason, my web space disappears and i lose all the hard work I have spent getting the sote up and running.

 

I know there is a backup option in the admin bit but this seems to only backup a tiny bit of information (not sure what) but not the whole site. I have tried copying the whole lot by ftp but it doesn't seem to work - itjust dies half waythrough.

 

Any ideas please anybody???

 

Rob

Link to comment
Share on other sites

the admin backup allows you to make a backup of your database to a directory called backups in the admin directory.

 

There should not be a problem backing up the entire site using an ftp program such as ws_ftp unless for some reason this is not configured properly and the connection is timed out.

 

I would look more closely at the settings for ftp.

 

Is this an ftp program installed on the server, if it is then use a stand alone ftp program such as ws_ftp installed on your local machine as most often the backup facilities provided by the hosts are set to timeout and also they will limit the amount of memory allocated to the running of scripts such as that which is used for the backup.

 

I say again a stand alone ftp program

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Many thanks for your help. I downloaded a freeby ftp prog and that tool care of the backup fine. You are right, I think that the time out was the reason for failure prior to this.

 

Should the worst happen and I lose the site, would you suggest just ftp the backup back to my web space or should I install a fresh osc to the webspace then simply copy the backup over the new installation files?

 

Thanks once again for your help and support.

 

Rob

Link to comment
Share on other sites

If no changes are made to the site other than products being added then in event of failure ftp your backup to the site

 

What to do is to backup the database on a regular basis and have this backup sql stored locally on some media, in the event of failure you can restore your entire site

 

This is how I develop sites, install locally and do all the mods then ftp the whole thing to the server

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

It seems that the admin backup does backup the product info, but it does not backup most other database settings. I wonder why? That's why I mostly use phpMyAdmin to make a database backup. It stores the whole database (and the resulting backup file is even smaller).

Link to comment
Share on other sites

you could of course use cron jobs to help with backups

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

you could of course use cron jobs to help with backups

Hi Steve,

I know it exists, don't know how it works. Do you have a link to a good tutorial/explanation on cron jobs? (already searched for it but could not find anything I really understood)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...