What should be the ideal roll back plan for WSP (Farm) Solutions deployments? What backups should be taken? Before taking the backups what are the prerequisites that should be performed like, databases to static, stopping timer jobs etc.
For roll back or complete uninstall you have to do 3 things.
- Deactivate the features on site collections.
- Retract / Uninstall the Solutions. You can do it via central admin or powershell.
Remove the solutions from farm. you can do it via power-shell or central admin.
Disable-SPFeature -identity "MyCustom" -URL http://somesite
Uninstall-SPSolution –Identity Solution.wsp –WebApplication http://webapplicatio
Remove-SPSolution –Identity Solution.wsp
For a WSP rollback, you would simply disable the Features deployed by the WSP (be they farm, Web App, Site, or Web), then retract the WSP. You don't need to do anything with databases nor timer jobs.