Copied to clipboard

Flag this post as spam?

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


  • Shahzad Ahamad 46 posts 246 karma points
    Mar 01, 2018 @ 07:08
    Shahzad Ahamad
    0

    How to update changes from localhost to server

    Hi,

    I am using umbraco 7.4.1 on my localhost as well as server. I have made some changes on my local host added some pages ,doctypes etc. Do I need to take the backup of the database or should I just paste the dlls and views etc on the server and umbraco will take care of the db by its own?

  • Michaël Vanbrabandt 863 posts 3343 karma points c-trib
    Mar 01, 2018 @ 08:02
    Michaël Vanbrabandt
    100

    Hi Ahamad,

    you have to be carefull when copying the database because then you will remove all the changes made on the server.

    You have some possibilities in order to update content from your development stage ( localhost ) to your deployment stage ( server ).

    1. You can make a package from within the developer section of the content, doctypes, templates, macros, ... on your localhost and install these on the server. Then using package actions you can perform some tasks on the server during installation of these updates: https://our.umbraco.org/Documentation/Reference/Packaging/
    2. Use 3th party tools like uSync to do this task for you.

    Hope this helps.

    /Michaël

  • Shahzad Ahamad 46 posts 246 karma points
    Mar 01, 2018 @ 08:27
    Shahzad Ahamad
    0

    Hi Michael,

    Thanks for the reply.

    Although, I am still little confused as I am very new to Umbraco.

    As I have made some changes using the source code so if I place the views or other files like XSLT files in the server will it not update the database tables with correct data. If not, then can you give me a link to a post where it is showed how to create packages and how to uninstall on the server or how to use that third-party tool.

  • Michaël Vanbrabandt 863 posts 3343 karma points c-trib
    Mar 01, 2018 @ 08:53
    Michaël Vanbrabandt
    0

    Hi,

    check out the docs of uSync here: http://usync.readthedocs.io/getting-started/

    Whee you can find step by step explanation of publishing changes from localhost to server.

    /Michaël

  • Shahzad Ahamad 46 posts 246 karma points
    Mar 01, 2018 @ 13:02
    Shahzad Ahamad
    0

    Thank you, That helped

  • Michaël Vanbrabandt 863 posts 3343 karma points c-trib
    Mar 01, 2018 @ 13:47
    Michaël Vanbrabandt
    0

    No problem, glad I could help!

  • Shahzad Ahamad 46 posts 246 karma points
    Mar 01, 2018 @ 13:50
    Shahzad Ahamad
    0

    Hi, Usync updated template and doc type but it didn't update the content nodes can you plzz help me with that?

  • Michaël Vanbrabandt 863 posts 3343 karma points c-trib
    Mar 01, 2018 @ 13:56
    Michaël Vanbrabandt
    0

    uSync is only for templates and doc types, there is a Content Edition here https://our.umbraco.org/projects/developer-tools/usynccontentedition/ but don't know it its still working.

    Maybe you can ask Kevin about this package status here https://our.umbraco.org/projects/developer-tools/usynccontentedition/usynccontentedition/

    /Michaël

Please Sign in or register to post replies

Write your reply to:

Draft