Member
Member
sunkast   30-09-2007, 21:16
#1

Last month I had to switch hosts for my domain unexpectedly. On my new host I installed version 1.0.8.2 which is newer than what I had installed on my previous host. I'm not sure if I had 1.0.3 or 1.0.7. I luckily have a back up of the ZenPhoto images and database. So my question is, what is the best way to restore the old database/images to the new ZenPhoto installation that I'm already using?

Member
Member
sunkast   30-09-2007, 22:17
#2

Just to clearify something from an obvious possible solution... I have ZenPhoto 1.0.8.2 installed and with new images and comments. I want to restore the older images and comments that I have backed up in an SQL file. I have attempted to import the SQL entries through phpmyadmin and then run upgrade.php, but this does not work. No data will show up in the zp admin section, even though the data is in the database.

Developer
Developer
trisweb   01-10-2007, 05:18
#3

Are all the images in the same place? (In the albums directory)

That's really all that is needed. You don't even need to run upgrade.php.

Zenphoto runs off the filesystem, not the database. If the images are there and Zenphoto is working, that's all you need. You can then overwrite the new database with the old backup.

Member
Member
sunkast   01-10-2007, 06:57
#4

Yeah, that was my problem. I was trying to restore the database before uploading the images. At least it gave me something interesting to do for the night. Thanks for your help.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.