This article has not yet been verified against Umbraco 8.
The concepts and code examples might not work if you are running Umbraco 8.0 or a later version. If you are using Umbraco 7, this article is perfect for you!
You are more than welcome to report any issues found on the Documentation Issue Tracker.
When you have already created some 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, in order to see your content locally as well.
You will also need to use the restore option when setting up new Umbraco Cloud environments. The restore option also comes in really handy if you have content editors creating content on the Live or Staging environments and you want to work with this content when building templates on the Development environment or on your Local clone.
Restore when starting up the project locally
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.
- When your site is done spinning up, click the green Restore button - this will restore all content and media!
- 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 complete click Open Umbraco
- You will now find all your content and media in the Umbraco backoffice
Restore from the Umbraco backoffice
The second option for restoring your content and media is found in the Umbraco backoffice - use this option when setting up new Cloud environments!
- Go to the Umbraco backoffice on the environment you want to restore content and media to
- Right-click the top of the Content section
- Choose Restore
- You will now have the option to restore content from any of your Cloud environments
- To ensure the restore will succeed, make sure that your environments have the same meta data.
- Click Restore from .. and 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 done, right-click the Content tree again and choose Reload to see your content in the tree
- Your media will also have been restored
- To see your media, go to the Media section and reload the tree
If your project has a lot of content nodes and/or media items you might not want to restore everything every time a minor change has been made to the content.
Imagine that you are working with your Umbraco Cloud project locally. One of your content editors updates a section in the content tree on the Live 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:
- Go to the Content section of your local Umbraco backoffice
- Right-click the content node which you know has been updated on the Live environment
- Choose Partial restore
- From the dropdown you will be able to choose which environment you want to restore the content node
- After choosing environment, click Restore from ..
- When the restore is done, reload the content tree to see the changes
Note: Partial restores are only available when you actually have content on your environment. This means that you cannot do partial restores on a fresh Local clone or a newly created Cloud environment where to content tree is empty.