Restore Items
How to restore content, media and forms between your Cloud environments.
When you have content in your Cloud environment and clone down your project to your local machine, you need to restore content, media, and forms. You will also need to use the restore option when setting up new Cloud environments.
The restore options also come in really handy when you have content editors creating content on different environments. You will be able to restore and work with that content on your different environments and locally.
To ensure the restore will succeed, make sure that your environments have the same metadata and structure files.
There are three options for restoring content:
Restore Environment
It is possible to do a full restore of all content and media on your project. This is useful on a new instance or clone of your project.
The full environment restore can be done in two ways:
As part of project initialization
The first time you run your project locally, you will have the option to restore your content and media before going to the Umbraco backoffice.
Click the green Restore button that appears when spinning up your site locally for the first time.
This will restore all content, media, and forms for the project.
Wait till the process completes - this might take a while, depending on the amount of content and media you have on your Umbraco site.
Select Open Umbraco to go to the backoffice.
You will now see all your content and media in the Umbraco backoffice.

Via the Deploy Overview in the Backoffice
This option can be used on an empty environment or when you already have content and media. Any restored items will overwrite the existing ones.
Click on the Environment name in the top-right corner to open the Deploy Overview.
Click on the ellipses in the top-right corner.

Choose Restore environment from the menu.
Use the dropdown to select the environment you want to restore from.
Click Restore from [environment name] to initiate the restore.
When completed, you will see your content reflected in the Content section and the media in the Media section.
Tree Restore
The Tree Restore option gives you the option to restore only a single tree, like only the content or Media tree.
For example, if triggered from the content tree, only the content items will be restored. Only referenced (dependencies) elements, media, and forms will be included in the restore.
Click the ellipses next to the tree title (Content, Media, Elements, or Forms).
Choose Tree restore from the menu.

Use the dropdown to select the environment you want to restore from.
Click Restore from [environment name] to initiate the restore.
When completed, click on the ellipses next to the tree title again and choose Reload.
Partial Restore
In some cases, you might not want to restore the entire content tree, but only the parts that you need. Partial restores let you restore specific parts of your content instead of everything.
You can use Partial Restore on:
Empty environment
In this scenario, you've cloned your environment to your local machine or set up a new environment. The new environment has an empty Content section and empty Forms and Media sections.
Instead of having to restore everything, which could potentially take a long time, doing a partial restore shortens the waiting time and restores only the parts you need.
Follow these steps to perform a partial restore to get only the parts you need:
Click the ellipses next to the tree title (Content, Media, Elements, or Forms).
Choose Partial Restore.
Select the environment that you would like to restore from.
Click Select content to restore.
This will open a dialog with a preview of the content tree from the environment you selected.
Select the items you would like to restore.
Choose whether to restore any available subitems.
Click Restore to start restoring the items.
To see the restored content, reload the content tree: Click on the ellipses next to the tree title to find this option.

Environment with existing content or media
It is possible to use the Partial Restore feature on environments where you already have content and media in place.
Imagine that you are working on your project locally. One of your content editors updates a section in the content tree on the production environment. You would like to see how this updated content looks with the new code you are working on.
Follow these steps to do a Partial Restore of the updated content node:
Click ellipses next to the item you want to restore.
Choose Partial Restore.
Select the environment that you would like to restore content from.
Choose whether to restore any available subitems.
Click Restore to start restoring the items.
When the restore is done, reload the tree to see the changes.

Last updated
Was this helpful?