Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Frans de Jong 548 posts 1840 karma points MVP 3x c-trib
    May 28, 2018 @ 13:29
    Frans de Jong
    0

    Final push to the cloud?

    Hi all,

    We are looking for Umbraco Cloud as a hosting solution for many of our Umbraco sites. The only thing that is holding us back is the unknown. Therefore we have the following questions.

    1. Is it possible to backup and restore the database in case of a total mess? Or is that impossible?
    2. If we push a update to live and find a bug. Is it possible to rollback to the previous version?
    3. Is it possible to use nuget packages?
    4. All our projects use a class library with the models/controllers and other logic. Is it possible to migrate if not is it easy to migrate.
    5. Is it possible to use models-builder API?

    So basically we want to know what the limitations are when going to Umbraco Cloud and if there is a limitation but there is a solid workaround we'd like to know it to.

    Thanks Guys!!

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    May 28, 2018 @ 13:39
    Dave Woestenborghs
    1

    Hi Frans,

    1. I know they do backups. So you can ask them to do a rollback. According this document there is 14 day point in time restore : https://shop.umbraco.com/media/2989214/umbracoasaservice-infrastructure-overview.pdf

    2. There is a guide on how to deploy hotfixes to live : https://our.umbraco.org/documentation/Umbraco-Cloud/Deployment/Hotfixes/

    3. Yep. But you need to develop locally using Visual studio https://our.umbraco.org/documentation/Umbraco-Cloud/Set-Up/Working-With-Visual-Studio/

    4. You can use all your code. If you have common code that use across all your project maybe a baseline site is the way to go. https://our.umbraco.org/documentation/Umbraco-Cloud/Getting-Started/Baselines/

    5. Yep you can use the models builder api like in a non cloud project

    Dave

  • Michael Nielsen 153 posts 810 karma points
    May 28, 2018 @ 14:01
    Michael Nielsen
    1
    1. (Taken from the Cloud FAQ)

      Database backups are not available as downloads by default, but a copy can be downloaded using a simple Powershell script (Umbraco Cloud support can provide you with instructions). By default 14 days point in time restore is available. Restore is dependent on your needs, requirements and database size and will be handled on a case by case basis. Contact Umbraco Cloud support through the portal to discuss your requirements. A restore usually takes just a few minutes to complete but is dependent on database size.

    2. Yes, because essentially Cloud is just Git. As long as you don't try to roll back to a previous minor version of Umbraco, as the database would have been updated.

    3. Yes you can work with nuget in Visual Studio as any other Umbraco installation

    4. If I understand the question correctly, then there's no issues with custom code.

      I can show you our setup: http://prntscr.com/jnm6e0

      .App project contains our static files (less, script, images and so on), bower config and gulp config.

      .Library is where everything custom lives (models, helpers, controllers and so on). This is compiled to a DLL and copied to .Web/bin

      .Web is the Umbraco Cloud website

      .App and .Library is pushed to our own repository along, .Web is pushed to Cloud.

      When starting a new project, we run a batch script, which sets everything up in 30 seconds, including connections to the different repos.

    5. Umbraco on Cloud works as any other Umbraco solution, so that's a yes.

  • Frans de Jong 548 posts 1840 karma points MVP 3x c-trib
    May 28, 2018 @ 14:06
    Frans de Jong
    0

    Hi Michael,

    Thanks for your answer. About app and library; is the custom code also pushed to cloud? Or only the DLL?

    In other words is a separate repository mandatory?

    Frans

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    May 28, 2018 @ 14:27
    Dave Woestenborghs
    1

    Hi Frans,

    You will indeed need a seperate repository for your own code. You will push the compiled dll to Umbraco Cloud

    There are some articles on skrift on how to automate this.

    Dave

  • Frans de Jong 548 posts 1840 karma points MVP 3x c-trib
    Jun 06, 2018 @ 06:44
    Frans de Jong
    0

    How do you keep the separate repositories in sync?

Please Sign in or register to post replies

Write your reply to:

Draft