We have moved!

You are currently looking at documentation for Umbraco 8 and older versions.
Go to docs.umbraco.com for documentation for Umbraco 9 and newer versions.

    Migrating an Existing Site to Umbraco Cloud

    Sometimes you may already have an Umbraco site built that did not start with a clone of an Umbraco Cloud site. Or perhaps you have decided to move a site that's already live on Umbraco Cloud. In any case, migrating an existing site is not difficult, but it does require some specific steps, and an understanding of how Umbraco Cloud deployments work can be very helpful.

    These are the steps you need to go through to complete the migration successfully:

    1. Requirements
    2. Tools
    3. Prepare your site
    4. Prepare your Cloud project
    5. Clone down the Cloud project
    6. Move and Merge files
    7. Generate meta data
    8. Deploy to Umbraco Cloud

    Video tutorial

    On our Youtube channel you can find a playlist with 7 videos that will take you through the migration guide. You can find the full playlist here: Migrate an existing site to Umbraco Cloud

    If you prefer following a written guide, continue to read below.

    1. Requirements

    Before you start migrating your Umbraco site to Umbraco Cloud there are a few things you need to consider. In order to migrate your site smoothly, we have made a list of requirements your project(s) needs to meet.

    Your Umbraco site has to fulfill these requirements:

    • Contains no member data
      • If you do have member data, these will need to be imported manually after the migration
    • No obsolete/old packages
      • Not all packages will work on Umbraco Cloud
      • Read more about this in the section below
    • Isn’t a site that has been upgraded from versions below Umbraco 7
      • Legacy code from older versions can potentially cause issues

    If you have a site that does not meet the above requirements, feel free to contact us and we will help you find the best solution for your site.

    Understanding what you have

    Prior to undertaking a migration you'll want to make sure you know the packages, add-ons, and custom code your site is using.

    This is especially important if you are using custom property editors that will require connectors in order to work properly with the Umbraco Cloud deployment engine. Connectors are used by Umbraco Deploy to aid with the deployment of content/property-data between environments on Umbraco Cloud.

    There are some common property editors that will require a connector, like Mortar and Archetype, which do not currently contain a connector and will not deploy properly. There are certainly other property editors that will require a custom connector but, for the most part, property editors that store data as Umbraco data will deploy without requiring any special attention.

    To help smooth this process for you, there is a community project called Umbraco.Deploy.Contrib which contains connectors for the most common Umbraco packages:

    • Archetype
    • Content List
    • DocType Grid Editor
    • LeBlender
    • Multi Url Picker
    • NuPickers
    • Property List
    • Stacked Content
    • Tuple
    • UrlPicker

    2. Tools

    There are a few tools we recommend using to make the migration process as smooth as possible. We've made a checklist for you here:

    Aside from these tools you'll also need:

    • A local copy of your existing site
    • A new and clean Umbraco Cloud project
      • We strongly recommend having a project with at least 2 environments

    3. Prepare your site

    After making sure that your existing site meets all the requirements for being migrated to Umbraco Cloud, you are now ready to get started.

    Upgrade to latest Umbraco version

    First order of business is to upgrade your own Umbraco site to the latest minor version of Umbraco 8. Why? Because Umbraco Cloud always runs the latest version and you need to make sure your project runs the same Umbraco version as Umbraco Cloud.

    You can download the latest version of Umbraco from Our.

    If you need help upgrading your project, we have some excellent Upgrade instructions you can follow. Be thorough when upgrading, as the latest upgrade might contain breaking changes and/or updated configuration.

    Umbraco v7

    As of 25th of June 2021 it's no longer possible to migrate v7 projects to Umbraco Cloud since the creation of them has been disabled.

    If you wish to host your v7 project on Umbraco Cloud then you'll need to upgrade it to v8 first.

    If you have been using Umbraco Forms on your own project, you will also need to upgrade this to the latest version. You can find and download the latest version of Umbraco Forms under Projects on Our. As with Umbraco CMS we also have documentation on how to Upgrade Umbraco Forms.

    After upgrading your project make sure it runs without any errors. Hint: Check the umbracoTraceLog.txt log file.

    Ideally your site will run locally using the SQL CE database as this will make content migration easier. Don't worry - if that's not possible you will still be able to complete the migration.

    Cleaning your project

    Before moving on to the next step, you need to clean up the local clone of your existing site a bit.

    While the site is running you need to:

    • Go the backoffice of your project
    • Empty the recycle bins from both the Content and Media sections

    Now, shut down the project, and delete the following files and folders from /App_Data

    • /TEMP
    • /Logs
    • /cache
    • /preview


    That was it! Now you are ready to start the actual migration process, or in other words: now the real fun begins!

    4. Prepare your Cloud project

    In this next part you are going to setup your Umbraco Cloud project and clone it down to your local machine.

    Setup your Umbraco Cloud project

    Before the migration process can start, you will need to have an Umbraco Cloud project you can migrate your own project into.

    How to start a Umbraco Cloud trial

    1. The best way to get started with Umbraco Cloud is to create a trial project
    2. When your project is starting choose to start with a clean slate - you need to have an empty Cloud project for the migration to be successful
    3. We recommend that you setup your project with at least two environments.

    Manage environments

    If you on your existing site have been working with members and made changes to the default Member Type, it is important that you follow these steps on the Umbraco Cloud environments:

    1. Head to the backoffice of the Development environment
    2. Navigate to the Settings section
    3. Open the Member types folder
    4. Delete Member
    5. Repeat these steps on all the Cloud environments

    Default media types

    Data types

    Have you been using older data types on your project, you will need to go through a few steps in order to avoid running into collision errors when deploying your migrated sites to Umbraco Cloud.

    The data types in question are: Content Picker, Media Picker, Member picker, Multiple Media Picker (using Media Picker) and Related Links.

    You can either

    1. Rename the old data types on your existing site or
    2. Follow the steps in the Colliding Data types article

    5. Clone down the Cloud project

    With your Umbraco Cloud project ready for the migration, it is time to clone down the project to your local machine.

    Run the site locally and verify your own project and the cloned Umbraco Cloud project are using the same Umbraco version. After you've verified this, shut down the site, and it's now time to start merging the two projects.

    6. Move and merge files

    Merging your existing site into the Umbraco Cloud project is a matter of moving and merging files between the two projects. When following the steps outlined below it is important that you do not overwrite any settings and configuration related to Umbraco Deploy.

    1. Copy and replace all folders from your own project to the Umbraco Cloud project
      • Do not copy and replace the following folders:
        • /Config
        • /App_Data
      • If your existing site uses Umbraco Forms, make sure you do not overwrite the App_Plugins/UmbracoLicenses/umbracoForms.lic file
    2. Merge the config files. Pay special attention to the following files:
      • /web.config - in the web.config file for the Umbraco Cloud project you will see some new configuration related to Umbraco Deploy, Umbraco Identity, Licenses and Forms. Make sure you do not overwrite these when you merge the files
      • /Config/UmbracoDeploy.config - only relevant if you are migrating a Cloud project
    3. Copy the rest of the files in the /Config folder from your own project to the Cloud project
    4. If you are using SQL CE
      • Make sure the SQL CE database from your own project replaces the one provided with your Umbraco Cloud project (.mdf or .sdf)
      • You can find it in App_Data/umbraco.sdf
    5. If you are using a local SQL server make sure to update the connection string in the web.config for the Umbraco Cloud project.
    6. Copy the rest of the files/folders in the /App_Data folder from your own project to the Cloud project

    That's it! Now that you've merged your existing site with the local clone of the Cloud project, you need to make sure the project runs and verify that

    • You can login using your Umbraco ID user
    • All the content is there
    • All Document Types, Templates, Stylesheets etc, is in the backoffice

    Umbraco Identity (Umbraco ID) is the single sign-on (SSO) feature across all Umbraco Cloud services and is required to access any project pages as well as backoffices.

    Any users that you might have had on your existing Umbraco site will be migrated over to the local clone of the Cloud project along with the database. These users, however, will not be able to access the Cloud environments of the project or any of the backoffices associated with those environments.

    In order for the users to continue having access to the project, they will need to be re-invited either as a Team Member on a project level or as a User to the backoffice of one or more Cloud environments.

    With that confirmed, it's time to prepare to migrate the project to Umbraco Cloud.

    7. Generate meta data

    You have now moved and merged the files from your existing site into the Umbraco Cloud project files. So far, so good!

    In this next part, it is time to generate the so called UDA-files for all your projects meta data.

    For more details about UDA files, read the UDA Files article.

    • Make sure the folder /data/revision on your Umbraco Cloud project is empty
      • If you have any files in the folder, you can safely remove those at this point
    • Open a command prompt
    • Navigate to the /data folder in your local Umbraco Cloud project files
    • Add an export marker by typing echo > deploy-export
      • Generating the UDA files may take a while, depending on the extent of your project
      • You will see a deploy-complete marker once the export is done
      • Run echo > deploy to check that the UDA files have been generated correctly
      • When you see a deploy-complete marker, it means everything is working as expected
    • You should now see that your /data/revision folder has been populated with UDA files corresponding to your projects metadata

    Run echo > deploy-export

    Now the migrated project is ready to be deployed to the Umbraco Cloud environment.

    8. Deploy to Umbraco Cloud

    All project files have been merged and we've generated UDA files for all the meta data. In this section, we are going to deploy the migrated project to the Umbraco Cloud Development environment.

    Deploying the metadata

    1. In your Git client you should see a lot of changes ready to be committed
    2. Stage and commit the changes
    3. Do a pull to ensure everything is in sync
    4. Push your migrated project to the Umbraco Cloud environment - check that the 'Deploy Complete' message is displayed
      • If you have a very large commit to push, you may need to configure your Git client for this
      • Use: git config http.postBuffer 524288000

    When the push is complete go check out the Umbraco Cloud Portal to verify the indicator on the Development environment is still green.

    Go to the backoffice of your Development environment and make sure all your metadata is there. You won't see any content or media on the environment yet - this you will move in the next few steps.

    Changes committed to Development environment

    Transfer your content and media

    1. With all your metadata in place, it's time to transfer your content and media as well

    2. Go to the backoffice of your local clone of the Umbraco Cloud project

    3. Right-click the top of the Content tree and choose 'Queue for transfer'

      • NOTE: If you have a large amount of content and media you may have the best result in deploying content and media independently
      • Media: If you have more than "a few" media items see our recommendations for working with media in Umbraco Cloud.

      Records from the Redirect URL Management are not transferred by deploy. You will need to manually migrate them using SQL.

    Queue for transfer

    Voila! You've now migrated your site to Umbraco Cloud.

    The very final step is deploy the migration to the next environment - Staging or Live. You do this from the Umbraco Cloud Portal, using the green button on your Development environment 'Deploy changes to Staging/Live'. Transfer content and media from the backoffice following the steps outlined above.