PDA

View Full Version : Accidental 1.5RC4 install on top of existing 2.02 :(


glenneroo
9th of December 2007 (Sun), 20:25
Oh my i really made a big booboo!

I've been running 2.02 for about a week now and successfully uploaded 10,000 photos into 44 galleries.

I was then going to install 2.02 again (starting with 1.5RC4 and doing 2 upgrades) into a different sub-domain, so i edited add/connect.php and went to upgrade. For some reason, i must have copied over some other LIVE PHP file into my install dir, and wasn't looking before i hit PROCEED... only to realize it was installing to my EXISTING database, thereby overwriting the database, yay!!! ok not really... ;)

So i'm looking to see how much damage that installation did.. i guess it deleted all my tables, at least according to the PHP file.

My problem now is, i have this backup file that was made from EE_BACKUP 2.0 tool, which i can't run because the database is version 1.5...??? That's my guess, it's very late otherwise i'd keep looking. Maybe someone can give me a clue what to try before i destroy everything ;)

Many thanks in advance :)

-glenn

jeronimo
10th of December 2007 (Mon), 01:46
ieekss, that sounds realy bad....

However;
First backup the backup file to you local computer;
Then finish the install of 1.5rc4, upgrade 2.0, upgrade 2.02. Then restore the backuped database file

Things should work again

Pekka
10th of December 2007 (Mon), 17:11
You can install EE Backup from 2.0(.2) installer zip just by copying files in backup directory and setting up its preferences.
EE Backup from EE 1.5 should handle 2.0 backups ok.

To make the restore identical, create a new database and restore to that. Reason for this is that restore does not drop/create tables that are not there in restore file. If you restore 2.0 backup to 1.5 database you'll get all sorts of odd tables left which are not needed. Other option is to drop all tables with e.g. phpmyadmin before restore.

glenneroo
16th of December 2007 (Sun), 17:11
Thanks everyone! I had some troubles with the backup tool, kept getting strange errors and just eventually stopped working. Didn't actually need to do anything other than delete all my tables beforehand, then i just imported them again with PhyMyAdmin, setting the delimiter to |EE|BACKUP and afterwards everything was ok :)