PDA

View Full Version : Backup was lost.... how do I


spiceman
January 30th, 2005, 09:17 AM
Ok... i was only able to recover a backup from a year ago and I have atleast 3000 images that exist in folders

If I go and try and recreate the folders... i get errors because the folders already exist...

Is there anyway to run some kind of import script that will just grab all the pics and thumbnails in each of the folders and recreate that category using the folder name.... then I would just have to rename the categories and move them around after???

Any help will be appreciated...

Chuck S
January 30th, 2005, 09:25 AM
I dont understand specifically what you mean? is this a mysql backup or data backup

Data backups are only good if your going to process the files again as in reupload which means thumbs and mediums are useless as the program will recreate them.

Without a mysql backup your out of luck really as both are needed to do a full restore

If you have a mysql backup all you should really need to do is restore the photos table and make sure it is up to the current software standards. Then upload the data folder backups and change permissions.

If this is just a data backup and you do not have a mysql backup that contains the prior entries for these photos then all you can do is take each directory and upload to your uploads directory all main images not thumbs or mediums and resubmit them category by category till your done.