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
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.
[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.]
Usync - Merging page content on import
Hello!
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
Hi
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.
Kevin
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?
Hi Kevin,
On your below comment line,
[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.]
May i know how to create package in umbraco?
is working on a reply...