|Posted: Wed, 2012-04-25 16:43|
I have the g2_data directory contents but not the database contents - Is there a tool that will add the missing rows from my database by crawling through the contents of the cache/entity directory?
I backed-up my database and then upgraded my NSA310 firmware. This installed Gallery3 which did not work (including many other features on my device). So, I restored the previous version of the firmware and installed Gallery2 again. I restored the g2_data directory but found that the backup that I had made has been overwritten. I have an old backup of the database but it is quite out of date - I restored this and it work with only half of my pictures.
I don't want to re-import the directory structure again because I will loose all my links to the gallery object that I have from my web-site (because the links are all using the itemId <img class="g2image_normal alignleft" title="Panarama03" src="http://drovercottage.servebeer.com/pkg/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=4196&g2_GALLERYSID=ec2cf8f61a2910d29dbc2120e0bcd1b9" alt="Panarama03" width="300" height="96">)
I have found that the cache/entity directory contains data that might be used to re-build the database.
Is there a tool to do this?