I have a couple of questions regarding best practices for updating an ubuntu web server. A server that is hosting a live website that would be very problematic should the server "go down". I am a web developer, not a full time admin, though I do spend a fair amount of time doing "dev-ops".
By updates I'm referring to the ones indicated upon SSH login...
48 packages can be updated.
35 updates are security updates.
Questions
- How often should one perform package updates to an ubuntu server, responsibly?
- What is the risk level of these package updates?
- Should a roll back strategy be in place in the event of an issue?
- If so, what kind of rollback strategy should be used. (I use chef to "spin up" new servers as needed, and all site related files are backed up daily) I am confused when it comes to how you would "roll-back" or "restore" linux package updates.
I'm sure there is a variance in terms opinion on this subject. I apologize in advance if this isn't appropriate for serverfault.com
Thanks.