Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Hi,
Something disastrous happened to my website, and I finally resorted to reinstalling the main pages completely. All appears OK now, but I'm left without the many galleries that I had published to the site over the last 3-4 years. Before I overwrote the old site, I copied the entire galleries folder from the site root, so I have all the image sets there.
Is there a way to copy this set into the repaired site without the need to republish every gallery from LR? I can see a couple of .xml files, but they don't seem to go beyond ~2014.
Any help gratefully received.
Thanks
Geoff
Geoff Cusick
Amazed and Confused
https://www.cusick.org.uk
Offline
see if something in this thread helps: http://community.theturninggate.net/post/34877/#p34877
I believe you'll need the Publisher master.sq3 database from your previous set up (found in /ttg-be/data/publisher/).
Otherwise, Ben will need to advise
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks, Rod. I had found the .sq3 files, and had a suspicion. I'll follow the other thread, and report back.
Regards
Geoff
Geoff Cusick
Amazed and Confused
https://www.cusick.org.uk
Offline
Success!!
Just worked through this, and succeeded in restoring my galleries without having to upload again. Thought I'd document the steps briefly here.
My site normally sits on the server under a directory called /webroot. Before I made any changes, I had made a copy of the entire site into another folder, /backup. I'd then gone on and recreated the main site structure, without any galleries loaded. To recreate the gallery structure:
Copied the new (empty) /webroot/galleries folder to a fresh backup location (/backup2, say)
Copied the /webroot/ttg-be/data/publisher folder to /backup2
Copied the /backup/galleries folder to /webroot, overwriting the empty galleries folder
Copied the /backup/ttg-be/data/publisher folder to /webroot/ttg-be/data, overwriting the existing folder
This reinstated the galleries as I wanted.
I'd guess you could use the same approach to migrate an existing gallery structure to a new website; maybe Rod or Ben would have a comment on that.
Thanks for the pointer Rod - helpful.
Have a beer
Geoff
Geoff Cusick
Amazed and Confused
https://www.cusick.org.uk
Offline
Good stuff. I've had no problems in copying over my entire site structure, less the 'skeleton' files that hosts often provide.
This assumes that both old and new sites are operating from the root of the domain, and that the user who owns the data files on the destination is the same as your own account user. This seems to be the case more often than not lately.
Offline
good to hear that works. I wasn't positive that it would but thought it might since I recently tested to see if cart settings could be copied from one site to another by copying over the cart database. (they can)
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline