Skip to content

wavenet-be/Wavenet.Umbraco.SlotCopy

Repository files navigation

Wavenet.Umbraco7.SlotCopy

Simple helper to copy user content from one Azure Slot to another.

wavenet-be MyGet Build Status

How to install

MachineKey

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.

Azure Settings

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.

Synchronisation

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)

Integration / Build Server

Just add a step which makes the HTTP request.

Packages

Stable Release
NuGet
Early Access
MyGet

About

Simple helper to copy user content from one Azure Slot to another.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages