Copied to clipboard

Flag this post as spam?

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

  • nickornotto 371 posts 843 karma points
    Mar 11, 2020 @ 20:30

    Migrate content & media while preserving nodes id

    I have an old site in umbraco 6.2.5 which hasn't been maintened for long time and is basially out of sync. I tried the upgrade several times to different higher versions but so unsuccessfully.

    So I think it'll be just easier to import all content via json or so. The only problem is that an import will just create new content and media nodes in the new db while not preserving nodes id.

    Is there any way to preserve nodes id? Eg. just copy the database table and somehow update the cache? Or is the structure of nodes different in umbraco 8?

    Is there any and what approach to use in such case?


  • Johan Reitsma 48 posts 193 karma points
    Mar 12, 2020 @ 07:40
    Johan Reitsma

    Can't you save the old node id into a field? And use that as a lookup source?

    so first import all to a new environment and set a field. then second round you get all "links to old pages" and replace it by the new id (the field can be used to find the page)

Please Sign in or register to post replies

Write your reply to: