Skip to content

Instantly share code, notes, and snippets.

@mattbrailsford
Last active November 9, 2015 21:43
Show Gist options
  • Save mattbrailsford/57512d666e7eca56019d to your computer and use it in GitHub Desktop.
Save mattbrailsford/57512d666e7eca56019d to your computer and use it in GitHub Desktop.
Swap live with staging
https://msdn.microsoft.com/en-us/library/azure/ee460814.aspx
https://msdn.microsoft.com/en-us/library/azure/ee460783.aspx
Backup new live database
Restore backup to temp db name
Delete current staging db
Rename temp db to staging db name
https://msdn.microsoft.com/en-us/library/azure/dn781282.aspx
https://msdn.microsoft.com/en-us/library/azure/dn781284.aspx
https://msdn.microsoft.com/en-us/library/azure/dn505705.aspx
https://msdn.microsoft.com/en-us/library/azure/dn720371.aspx
For repo re-deploy to staging slot
https://github.com/projectkudu/kudu/wiki/Continuous-deployment#set-up-a-web-hook-so-kudu-gets-notified-when-a-deployment-happens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment