Copied to clipboard

Flag this post as spam?

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


  • Søren Reinke 158 posts 206 karma points c-trib
    May 11, 2012 @ 14:18
    Søren Reinke
    0

    Restore deleted property

    Hi there

    On a Documenttype a property got deleted by mistake.
    I can see in the database that the property values are still on the nodes, but not being displayed in the backend, and of course not when published again.

     

    Is there anyway to restore the property, and being able to see and use the data?

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    May 11, 2012 @ 14:45
    Dirk De Grave
    1

    I'm afraid restoring is out of the question, as the id of the property (and referenced by your doc's property data) is gone from the db. Best guess is to create a new property (which will have a different id obviously) and then dive in the db and change the id for each of the nodes that have the old id referenced and change it to the new one)

    BUT: Backup first so in case somthing goes wrong, you still have a backup of your current situation. Also backup umbraco.config from the App_data folder just in case!

     

    Cheers,

    /Dirk

  • Søren Reinke 158 posts 206 karma points c-trib
    May 11, 2012 @ 14:49
    Søren Reinke
    0

    Hi Dirk

    Thanks for the tip, i'll try my best.
     

    Could you guide my a bit regarding:

     

    'and then dive in the db and change the id for each of the nodes that have the old id referenced and change it to the new one) '

  • Søren Reinke 158 posts 206 karma points c-trib
    May 11, 2012 @ 16:34
    Søren Reinke
    0

    After quite som battle with sql, i managed to save nearly all the data :-)

    Thanks for your tip, it really helped.

     

Please Sign in or register to post replies

Write your reply to:

Draft