Forums / General Questions / installing a backup into a new location

installing a backup into a new location

Views: 940

Results 1 to 6 of 6
29 Apr 2010, 8:36 PM
#1
spec avatar

spec

New Zenner

Join Date:
Oct 2007
Location:
Pensacola
Posts:
49
Plugin Contributions:
0

installing a backup into a new location

hello, after hours of searching for corrupted files and findfing many, but still having problems with the 'cleaned' version- i have decided to install an older backup version into a new folder with security fixes in place.

the thing that i noticed is that the older version has the db_server_usename, hempster_zc_1 and the newer db version says DB_SERVER_USERNAME', 'hempster_zc2'

my question is how many db's will i have to rename so that they are all correct? or is there a way to do a fresh install of 1.3.9a and upload/copy the old products/categories?

please keep in mind i am a noob who has been slowly learning about all this, so the more simple it is the better.

29 Apr 2010, 8:39 PM
#2
spec avatar

spec

New Zenner

Join Date:
Oct 2007
Location:
Pensacola
Posts:
49
Plugin Contributions:
0

Re: installing a backup into a new location

i also have noticed in phpMyAdmin i have the option to rename the db, if i did this would it rename all instances from zc_2 to zc_1?

29 Apr 2010, 8:48 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: installing a backup into a new location

spec:

the thing that i noticed is that the older version has the db_server_usename, hempster_zc_1 and the newer db version says DB_SERVER_USERNAME', 'hempster_zc2'

my question is how many db's will i have to rename so that they are all correct?Zen Cart only stores the database name in 2 places: /admin/includes/configure.php and /includes/configure.php
spec:

i also have noticed in phpMyAdmin i have the option to rename the db, if i did this would it rename all instances from zc_2 to zc_1?Probably not. Most phpMyAdmin installations don't let you actually rename the database itself.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

21 Jun 2011, 2:31 PM
#4
emarketingeu avatar

emarketingeu

New Zenner

Join Date:
May 2010
Posts:
11
Plugin Contributions:
0

Re: installing a backup into a new location

I have a full backup of a site built on a template on version 1.3.9c
The site was fully functional when the backup was made.
I would like to install this on a different location, under a different domain name.

Would you please point me some place where there is a very detailed set of Instructions that I can follow?

I assume I will have to install the new domain name in a million places, etc.

Do I have to install the latest ZenCart version from Fantastico, from the cpanel or that is not necessary?

Thanks,

21 Jun 2011, 6:35 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: installing a backup into a new location

It's not mentioned because it's largely irrelevant.
The only place in Zen Cart where your domain name is mentioned is in the HTTP_SERVER and HTTPS_SERVER settings in your configure.php files.
And, if you run zc_install to do a manual installation FROM THE DOMAIN URL you want to install it for, that information will be set into the configure.php files automatically.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.