Forums / Upgrading from 1.3.x to 1.3.9 / Before I upgrade... a question about backup/restore

Before I upgrade... a question about backup/restore

Locked

Views: 2,840

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
1 Dec 2007, 7:09 PM
#1
dman76 avatar

dman76

Zen Follower

Join Date:
Jun 2007
Posts:
107
Plugin Contributions:
0

Before I upgrade... a question about backup/restore

I am kind of nervous to upgrade because I just finally got everything set up and then here comes a new upgrade! I think I made all my override directories properly and guess it is probably better to do it now than later. But anyways, my main question is....

Id I do a complete backup through my control panel which backups of the file structure, the SQL databases, and basically everything, if I run into a problem then can I just restore everything from that backup and will it work the way it did before?

1 Dec 2007, 11:02 PM
#2
stagebrace avatar

stagebrace

Totally Zenned

Join Date:
Jan 2005
Location:
Tennessee
Posts:
985
Plugin Contributions:
0

Re: Before I upgrade... a question about backup/restore

This question implies you want to upgrade a live site. Don't do it. Never run upgrade on a live site.

To answer you question about the complete site backup. If your control panel is Cpanel, note that there is no restore for a Full Backup.

2 Dec 2007, 12:34 AM
#3
dman76 avatar

dman76

Zen Follower

Join Date:
Jun 2007
Posts:
107
Plugin Contributions:
0

Re: Before I upgrade... a question about backup/restore

How do you upgrade then if you have a live site? Should I even bother with it since I have 1.3.7?

2 Dec 2007, 1:13 AM
#4
stagebrace avatar

stagebrace

Totally Zenned

Join Date:
Jan 2005
Location:
Tennessee
Posts:
985
Plugin Contributions:
0

Re: Before I upgrade... a question about backup/restore

Within the Zen Cart download is a folder named docs. Both of your question are answered there.:smile:

2 Dec 2007, 1:18 AM
#5
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Before I upgrade... a question about backup/restore

You create a test site and then merge your changes into overrides of the new files and upgrade your database. Once that's working OK, then you copy the files across to your live site's location, or (my preference ... and a little more advanced approach) use a 301 redirect to point the site to the location of your upgraded and fully-tested site (remembering to bring an up-to-date version of the database across of course).

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

2 Dec 2007, 7:05 AM
#6
dman76 avatar

dman76

Zen Follower

Join Date:
Jun 2007
Posts:
107
Plugin Contributions:
0

Re: Before I upgrade... a question about backup/restore

stagebrace:

To answer you question about the complete site backup. If your control panel is Cpanel, note that there is no restore for a Full Backup.

I do have Cpanel and there is an option to restore the home directory, restore the sql database, and to restore the email. Wouldn't you just restore all of those to restore everything?

31 Jan 2008, 3:25 AM
#7
lou avatar

lou

New Zenner

Join Date:
Dec 2007
Posts:
21
Plugin Contributions:
0

Re: Before I upgrade... a question about backup/restore

dman76:

I do have Cpanel and there is an option to restore the home directory, restore the sql database, and to restore the email. Wouldn't you just restore all of those to restore everything?

This is something I'm wondering about too .......... not that I'm upgrading but I've been developing the site on my local and made so many changes and added mods etc. that it seems a complete dump into the live would be the way to go ...... I just want to make sure that if it doesn't work out well, I can just restore the old db & zc.

31 Jan 2008, 3:26 AM
#8
lou avatar

lou

New Zenner

Join Date:
Dec 2007
Posts:
21
Plugin Contributions:
0

Re: Before I upgrade... a question about backup/restore

I'm assuming the only files I'd need to preserve would be:
/includes/configure.php
/admin/includes/configure.php

31 Jan 2008, 5:08 AM
#9
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Before I upgrade... a question about backup/restore

if you are determined to dump into a live site those two files would be the ones to reserve, however if you upload from downloaded file for the new version the two config files are in a safe edited name where your current ones are not overwritten.

If your using the classic folder for your template make sure you back up the classic template folder as well as your includes/languages/english/html_includes/classic folder.

Then you should be good to go. Just edit the rest to your likings.

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

31 Jan 2008, 8:38 AM
#10
lou avatar

lou

New Zenner

Join Date:
Dec 2007
Posts:
21
Plugin Contributions:
0

Re: Before I upgrade... a question about backup/restore

yep, I'm determined - I'll see how it goes.