Simple helper to copy user content from one Azure Slot to another.
To work, this package requires you to have a custom machine key in your web config or to specify the UmbracoSlotCopy::ValidationKey
.
The key will be use to secure exchanges between your slots.
It's suggested that all settings are put on Azure Configure app settings as Slot Settings.
Key | Value | Comment |
---|---|---|
UmbracoSlotCopy::ServerToSync | https://your-production-website/umbraco/wavenet/slotcopy/getfiles | Required on Target Slot |
UmbracoSlotCopy::PathsToSync | ~/media,~/css,~/App_Data/UmbracoForms | Optional on Source Slot |
UmbracoSlotCopy::FilesToSyncPattern | *.* | Optional on Source Slot |
UmbracoSlotCopy::ValidationKey | Your validation key | Best to use only if you have no machinekey defined. |
When everything is set up, you simply make a request on your staging slot: https://your-staging-website/umbraco/wavenet/slotcopy/sync
and it will show the synchronisation progress.
If you run the same on production, it will reject the request with a 404 (check based on UmbracoSlotCopy::ServerToSync
)
Just add a step which makes the HTTP request.
Stable Release |
---|
Early Access |