Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rosa 17 posts 121 karma points
    Feb 09, 2023 @ 11:41
    Rosa
    0

    Merging two Umbraco sites together to create a multi-site instance

    Hi there,

    I'm just wondering if anyone has ever done something like this before and if so, the best way to go about it.

    We have two different Umbraco sites both owned by the same company, one on 7.7.4 and another that is on 8.12.2. The company wants to have both sites on the same Umbraco instance as two separate Home nodes in the content tree so they can manage all the content in the one place.

    We plan on upgrading both sites to the latest version of 8 separately and then merging them into one another. There are only three doc types that have clashing aliases (aside from the OOTB File, Folder, Image, Member types). We plan on renaming these on one site before attempting any merge.

    Trying to get my head around how we would go about migrating everything from one database to the other. Has anyone done this before? Is it just going to be a lot of sql scripts to update all the primary keys/ids and then adding them to the target db?

    Any advice much appreciated!

    Rosa

  • Roy Berris 89 posts 577 karma points c-trib
    Feb 09, 2023 @ 13:29
    Roy Berris
    100

    Hi,

    I kind of did this. My recommendation would be uSync.

    • Have both sites on the same version
    • Export everything with uSync
      • uSync makes it easy to mass find and replace when exported, because they are just XML files. So you can fix any problems here outside of Umbraco if needed.
    • Import everything at the new site.

    I wouldn't recommend messing around with your own SQL.

    https://jumoo.co.uk/usync/

    Also, if you are planning on going to Umbraco 10+ uSync should also be able to help with that. You're exporting all the content to something uniform and you can import it on whatever version you have.

    This works on most situations, having a lot of packages or custom editors etc should not be a problem but might require some manual work.

  • Rosa 17 posts 121 karma points
    Feb 09, 2023 @ 14:17
    Rosa
    1

    Hey Roy, thanks so much for the reply. We will give this a try.

  • Rosa 17 posts 121 karma points
    Feb 24, 2023 @ 10:45
    Rosa
    1

    Hi Roy,

    Just an update that this seems to be working quite well for us. Thanks for the suggestion.

Please Sign in or register to post replies

Write your reply to:

Draft