Copied to clipboard

Flag this post as spam?

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


  • nickornotto 402 posts 905 karma points
    Mar 11, 2020 @ 20:30
    nickornotto
    0

    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?

    Thanks

  • Johan Reitsma 68 posts 234 karma points MVP
    Mar 12, 2020 @ 07:40
    Johan Reitsma
    0

    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:

Draft