Last chance to get discounted tickets to Codegarden... Price goes up on Tuesday at 20:00 CEST!

Copied to clipboard

Flag this post as spam?

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

  • vapenation 21 posts 138 karma points
    Feb 22, 2017 @ 14:06

    Usync - Merging page content on import


    We're using Usync to synchronize between different Umbraco deployments. We've had an instance where we had to merge changes to various pages from our staging environment to production.

    Usync successfully created missing content pages upon import, but it also seems to overwrite existing content pages and all content completely.

    Is there any functionality in Usync for actually merging content from a specific page during import, so that the XML in the database is simply updated from the XML in the Usync folder rather than replacing it completely?

    Thanks in advance! Let me know if I need to provide any more information

  • Kevin Jump 1128 posts 6667 karma points MVP c-trib
    Feb 22, 2017 @ 14:14
    Kevin Jump


    not sure there is. At the moment uSync does a full sync of whatever is in the files to the db - so it will remove / overwrite bits of content as it does so.

    If it's just new content you can mess about with the contents of the content folder in usync so it only contains the new bits, but if you want to merge new and old content in a single item then I think the only real way to do that with usync is to merge xml files from both systems before the import :(

    If it's a one off, then creating a package in umbraco might work, and package installs only perform additive changes to settings / content when they are brought it.


  • vapenation 21 posts 138 karma points
    Feb 22, 2017 @ 14:20

    Thanks! Good to know!

    Since quite a few Umbraco developers seem to be using Usync in a deployment capacity, might this be a good candidate for the feature set?

Please Sign in or register to post replies

Write your reply to: