Sitecore Experience Platform

Archive and restore an item

Abstract

If you have items that you do not want to display on your website, you can choose to archive them.

You can archive items that you do not want to display on your website in the Content Editor. When you archive an item, it is not deleted but stored outside the content tree. Archived items can be restored at any time.

This topic outlines how to:

To archive an item:

  1. In the Content Editor, in the content tree, navigate to the item that you want to archive.

    • If you want to archive a version of an item, click the Versions button F1E3486A18474DD2A246A67F11B33A27.png and select the relevant version.

    • If you want to archive an item in a specific language, click the Language button 782BB720DA6E406F8C33E0A7CB66B4B0.pngand select the relevant language.

  2. To archive the item immediately, on the Review tab, in the Schedule group, click Archive:

    • To archive the item in all versions and languages, including all its subitems, click Archive item now.

    • To archive the current version and language of the item, click Archive version now.

      87BA0E4EA56140F5B58D4D280F50471A.png
  3. Save your changes.

    Note

    When you archive an item, it is removed from the content tree, but it remains on the published website. Therefore, you must republish your website to ensure that your changes are replicated on your website.

To archive an item:

  1. In the Content Editor, in the content tree, navigate to the item that you want to archive.

    • If you want to archive a version of an item, click the Versions button 6E9E53849AA443938EE37B29A0F9D466.png and select the relevant version.

    • If you want to archive an item in a specific language, click the Language button 400FD3563E82442A801E7234D10B9347.pngand select the relevant language.

  2. To schedule the archive of the item on a different date, on the Review tab, in the Schedule group, click Archive and then click Set archive date.

    E257CE4E6C754813A1E9283295146F22.png
  3. In the Archive Date and Time dialog box, specify the date and time you want to archive the item.

    • In the Archive item section, specify the date and time that you want to archive the item including all its versions and subitems.

    • In the Archive version section, specify when you want to archive a specific version of the current item.

      19FF703A49854E04A2829F30A2186200.png

    When you set a date and time, it is important to remember that:

    • If you only specify a date, the item is archived at 12:00 midnight on that date.

    • If you only specify a time, the item is archived at that time on the current date.

    • If you specify a date or a time that is in the past, the item is archived the next time that Sitecore checks for items to archive.

  4. Click OK and save your changes.

    Note

    When you archive an item, it is removed from the content tree, but it remains on the published website. Therefore, you must republish your website to ensure that these changes are replicated on your website.

You can restore items again from the archive. You can only restore the items that you archived yourself or if you have admin rights.

To restore a content item from the archive:

  1. In the Sitecore Desktop, click Sitecore Start ED7885B7E9DD4BC9BABA1D96E0EA8C88.png, All Applications, and then click Archive.

  2. In the Archive dialog box, select the item that you want to restore.

    • To restore all versions and languages of an item, including the subitems, select the item from the list. You can only restore one item at a time.

      98C7DFCE8A0D4B08AFF9C5B0039A0EC8.png
    • To restore a version of an item, in the Options group, select Show Versions, click the item that contains the version that you want to restore and in the lower pane that appears, select one or more versions to restore.

      47C733FED46A48DCA2D41EDDA3D038EF.png

      Note

      You can select and restore as many versions of the same item as you want.

  3. In the Items group, click Restore and the items are restored in the content tree.