Forums / Upgrading from 1.3.x to 1.3.9 / disaster my stupid mistake

disaster my stupid mistake

Locked

Views: 1,891

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
17 Sep 2006, 5:48 PM
#1
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

disaster my stupid mistake

:cry: I decided to install 1.3.5 into a subdirectory of my site. My intention was to setup and run it along with the current cart until ready to switch. I pointed the new version to the same DB as current cart........I'll wait til everybody stops laughing......as you know and I realized as soon as it started ~~~~~~~~ that it dropped my tables and overwrote the DB:cry: . Now it gets worse, as I don't manage the site day to day, the wife handles that, no one has made a backup of the DB since August 2. When checking the DB with phpmyadmin to confirm the disaster I did note that our bulletin board has survived intact as the tables for it are prefixed differently. So what I need to do is take the old backup and strip the tables of the forum stuff and insert the forum stuff from the after disaster version. When ever you stop laughing any hints would be appreciated. In the mean time I'll be in the corner sucking my thumb.:down:

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

17 Sep 2006, 6:12 PM
#2
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: disaster my stupid mistake

Well, are we still laughing.....don't blame you. Ok I did find a version of the DB that I export to my local machine on September 4, so its a little better. Now how to get the two versions merged.......:blink:

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

17 Sep 2006, 6:15 PM
#3
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: disaster my stupid mistake

On a side note if someone knows how to setup a cron job to backup the db let me know

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

17 Sep 2006, 6:40 PM
#4
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: disaster my stupid mistake

with you. Can
envision doing the same thing myownself. Glad you found a more recent
db backup. Yay!

17 Sep 2006, 8:19 PM
#5
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: disaster my stupid mistake

Have been able to restore to the 9-5-06 version of the DB with the up to date forum info. It required me to export just the tables I wanted from the 9-17 DB and save them, in like 6 different places:lookaroun. Then I dropped all the tables on the 9-17 ver and imported the whole 9-5 ver and then dropped the forum tables out of it. Then imported the forum tables that I saved in the first step. Did a little dance. The wife does not hate me as much now:wink2: She said that 12 days missing is not a problem as she has hard copies of all the orders.

Still need info on setting up cron jobs

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

17 Sep 2006, 8:23 PM
#6
kuroi avatar

kuroi

Totally Zenned

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

Re: disaster my stupid mistake

Glad you're making headway and taking the edge of the wife's rage. Hanging my head in shame, I have to admit thnat I've been doing my backups manually, whilstb transitioning from a poor mass market host to a great Zen-Cart certified one, so I'm off to research CRON too.

Kuroi Web Design and Development | Twitter

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

18 Sep 2006, 2:43 AM
#7
tj1 avatar

tj1

Totally Zenned

Join Date:
Mar 2005
Location:
California
Posts:
628
Plugin Contributions:
0

Re: disaster my stupid mistake

...just curious, doesn't your host provide regular backups? I have messed up in a couple of occasions, luckily my host had recent backups.

18 Sep 2006, 3:02 AM
#8
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: disaster my stupid mistake

My host does a daily backup of the website directories but for the mysql Databases they want to charge for backup that they store remotely. So far its the only thing I found about my host I don't like, but I should have been more diligent in making sure everything was backed up.

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!