Page 1 of 1

combine gallery databases

Posted: 13 Feb 2024, 17:07
by carlpitcher
In the documentation there's a section on moving a gallery from one site to another but my circumstance is slightly different. I have 2 sites, both with different galleries. There are no overlaps in category names and all images have descriptions. I want to move the gallery on site 1 and add it to the gallery on site 2. Your thoughts please? Thanks!

Re: combine gallery databases

Posted: 16 Feb 2024, 02:32
by Jan
Hi, the problem is, the upgrade (migration: export/import) works best when you import into empty database. Iporting data to existing data and joining them ist not so easy. In fact you do the same like it is described in upgrade/migrate articles: https://www.phoca.cz/documentation/86-j ... o-joomla-4 but you need to check the relations and/or fix them (when you paste items into empty database, then the relations like image - category are OK, but this is not valid when there are current data in database, because the relation numbers (ID of category, ID of images) move) :idea:

Jan

Re: combine gallery databases

Posted: 16 Feb 2024, 16:01
by carlpitcher
Makes sense. Thanks Jan!