Restoring Content
Last updated
Last updated
When you have content on your Cloud environment and you clone down your Umbraco Cloud project to your local machine, you will need to do an extra step, to see your content locally. You will also need to use the restore option when setting up new Umbraco Cloud environments.
The restore option comes in handy when you have content editors creating content on the Live or Staging environments. You will be able to restore and work with that content in your Development and local environments.
You can restore the content in the following ways:
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.
This will restore all the content nodes and any media dependencies.
When your site is done spinning up, click the green Restore button to restore all the content nodes and media files.
Wait till the process completes. This might take a while depending on the amount of content and media you have on your project.
When it's completed, select Open Umbraco to go to the Backoffice.
You will now see all your content and media in the Umbraco Backoffice.
Use this option when setting up new Cloud environments. The Workspace restore option restores all the entities (content, media, forms, datasources, and prevalue sources from Umbraco Forms) of a workspace via the Backoffice.
Log in to the Umbraco Backoffice in the environment you want to restore the content and media.
Click ... and select Do something else or Right-click the Content Tree in the Content section.
Choose Workspace Restore.
Select the environment from the Restore this workspace from dropdown.
To ensure the restore succeeds, make sure that your environments have the same metadata and structure files.
Click Restore from <environment_name> and wait till the process completes. This might take a while depending on the amount of content and media you have on your project.
Once the content restore is completed, you will get a notification with a timestamp. Click Okay to complete the process.
Right-click the Content tree and choose Reload to see your content in the tree.
If any of your content nodes depends on media items, these will also be restored in the process.
To see the media, go to the Media section and reload the tree.
The Tree restore option restores all the entities available for the selected tree in that section. It's available in the Content, Media, Members, Forms (root node of Forms, Datasources, and Prevalue sources), or Translation (Dictionary menu if configured) sections. Using Tree Restore, you can, for example, restore all your content only. This will restore any media that’s referenced in that content, but it won’t attempt to restore the full media library.
Log in to the Umbraco Backoffice in the environment you want to restore the tree.
Click ... and select Do something else or Right-click the Content Tree in the Content section.
Choose Tree Restore.
Select the environment from the Restore this tree from dropdown.
To ensure the restore succeeds, make sure that your environments have the same metadata and structure files.
Click Restore from <environment_name> and wait till the process completes. This might take a while depending on the amount of content and media you have on your project.
Once the content restore is completed, you will get a notification with a timestamp. Click Okay to complete the process.
Right-click the Content tree and choose Reload to see your content in the tree.
Using the Partial Restore option, you can restore only a single node from a tree (optionally with descendants) that you need to work with.