Community @ The Turning Gate

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.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2016-01-04 04:24:03

gcusick
Member
Registered: 2013-03-04
Posts: 40

Wholesale move of Publisher-managed galleries

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

#2 2016-01-04 05:54:42

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Wholesale move of Publisher-managed galleries

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

#3 2016-01-04 05:59:54

gcusick
Member
Registered: 2013-03-04
Posts: 40

Re: Wholesale move of Publisher-managed galleries

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

#4 2016-01-04 20:07:21

gcusick
Member
Registered: 2013-03-04
Posts: 40

Re: Wholesale move of Publisher-managed galleries

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

#5 2016-01-04 20:17:53

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Wholesale move of Publisher-managed galleries

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

#6 2016-01-04 23:30:19

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Wholesale move of Publisher-managed galleries

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

Board footer

Powered by FluxBB