Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to make a failsafe backup?


keithwilliams

Recommended Posts

Posted

Hiya All,

 

It's only when disaster strikes that you wish you'd been more careful with your backups!

 

So, following my disaster, I'd like to ask - what's the best way to backup ones ENTIRE site including the database?

 

I'm using Clook as my host (very good support!). In my cPanel there ia an option to download a copy of the 'home' directory (my osc installed in the root, no \catalog folder) and also download a copy of my database. If I do this, can I then simply upload the 'home' directory and database (again via the option in my cPanel) following a disaster to restore my shop to an earlier working version, or does osommerce need to be installed every time like pc software?

 

Or is there another trusted way of backing up an entire site + database?

 

Basically, what I'd like to be able to do is: Site Ok; Backup; Make Alteration; Test; Oh Dear God Disaster!; Upload Backup; Site Ok Again (phew!)

 

If it makes any difference, my osc was installed using Fantastico.

 

Any advice you can give me would be greatly appreciated

 

Kind Regards, Keith

In life, try everything three times...

First, just to see if you like it.

A Second, to see if you were mistaken the first,

And a third, to see if you tire of it quickly...

Posted

Most web hosts periodically back up your entire site - though there may be a charge for getting them to release the data.

 

Failing that, I always keep a copy of my site on my local machine.

Then only the database is the issue - and this can be backed up with a contribution set up as a CRON job (to automatically back up).

Posted
Most web hosts periodically back up your entire site - though there may be a charge for getting them to release the data.

 

Failing that, I always keep a copy of my site on my local machine.

Then only the database is the issue - and this can be backed up with a contribution set up as a CRON job (to automatically back up).

 

So if I was to have another disaster, and I had a copy of my site on my pc, will simply overwriting the files on my site with those on my pc work - assuming the database is ok?

In life, try everything three times...

First, just to see if you like it.

A Second, to see if you were mistaken the first,

And a third, to see if you tire of it quickly...

Posted
So if I was to have another disaster, and I had a copy of my site on my pc, will simply overwriting the files on my site with those on my pc work - assuming the database is ok?

Yes.

Posted
Yes.

 

 

Nice one, thankyou - that bit's easy enough (even for a dummy like me!)

 

So how do I go about backing up\restoring the database?

In life, try everything three times...

First, just to see if you like it.

A Second, to see if you were mistaken the first,

And a third, to see if you tire of it quickly...

Posted
Nice one, thankyou - that bit's easy enough (even for a dummy like me!)

 

So how do I go about backing up\restoring the database?

Have your database backed up by using the admin database manager and ftp copies of the backups to your pc. Use the database manager to restore your database.

Posted

That sound equally easy!

 

Many thanks for your help - I'd be completely stuffed without people like you on these forums!

 

Kind Regards

Keith

In life, try everything three times...

First, just to see if you like it.

A Second, to see if you were mistaken the first,

And a third, to see if you tire of it quickly...

Archived

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

×
×
  • Create New...