Question

How to keep back-up of any item in sitecore. If any item can be needed in future again and i want to revert all setting and content of old items.

Was it helpful?

Solution

Depends on your business requirements. You could:

  1. Use item versions in Sitecore
  2. Serialise items and store the serialisation output in SVN
  3. Generate packages containing the item you want to backup and store the package in SVN

OTHER TIPS

You should look into Hedgehog's Team Development for Sitecore. It allows you to manage Sitecore Items in SVN or TFS.

http://www.hhogdev.com/products/team-development-for-sitecore.aspx

If you are trying to store the items in SVN I would use serialization. I believe that part of the reason Sitecore added that feature.

One thing to consider would be some sort of automated process to serialize the content you want in SVN. For example if you say wanted to keep all template changes in SVN you could tie into the save event, then when a template is saved use the API to serialize the affected template and check it into SVN.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top