Archive and restore an item

Last updated Friday, March 23, 2018 in Sitecore Experience Platform for Content Author
Keywords: Items

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:

Archive an item immediately

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 icon_cms_VersionsButton and select the relevant version.
    • If you want to archive an item in a specific language, click the Language button icon_cms_LanguageButtonand 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.

      cms_ce_ReviewTab_ScheduleGroup_ArchiveDropDown

  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.

Archive an item at a later date

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 icon_cms_VersionButton and select the relevant version.
    • If you want to archive an item in a specific language, click the Language button icon_cms_LanguageButtonand 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.

    cms_ce_ReviewTab_ScheduleGroup_ArchiveDropDown

  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.

      cms_ce_SetArchiveDateDialog

    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.

Restore an archived item

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 the Sitecore Start button icon_Desktop_StartButton, 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.

      cms_ArchiveDialog

    • 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.

      cms_ArchiveDialog_ShowVersions

      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.

Send feedback about the documentation to docsite@sitecore.net.