Search code examples
sitecoresitecore7.2

Restore items accidentally overwritten by importing a Package


Problem:

I imported a small package of about 15 items from one of our DBs to another one and somehow in the process the children of one of the items got overwritten by this operation. I may have incorrectly selected "overwrite" instead of "merge" but I'm not sure about that.

The worst thing is, I also published to the web DB after import, so the items are not in the web DB either.

Things I checked:

  • Checked the Recycle Bin, not there
  • Also checked the Archive, not there either
  • Even wrote a piece of code to find the items by ID in the DB, FAILED

My question:

Are the items overwritten by Launch Wizard gone forever? Or there could still be a trace of them remaining in the DB?


Solution

  • There is no "rollback or uninstall a package" feature out of the box in Sitecore. This seems to be the only available info regarding the matter.

    I've heard of some shared source modules which could be useful, but never tried them personally.

    I think, your best choice is to restore items from a database backup or revert content, if you have a serialized copy on the file system.