Every server administrator likes to sleep at night and every server admin knows server updates could prove disastrous. Just found out that RPM and Yum allow you the ability to rollback an update if some how it sent your system into a choking fit.
/etc/yum.conf add this in there somewhere
This will repackage all your old files from the package (including config files) and store them in
Also add the file
/etc/rpm/macros and place this in that new file
If you want to rollback changes to a certain time, then just issue commands like
rpm -Uhv --rollback '9:00 am'
rpm -Uhv --rollback '4 hours ago'
rpm -Uhv --rollback 'december 25'
This is just stuff I’m reading, I have yet to test this under fire, maybe I’ll play around on a test server
Did this help you out? It took me a few days to piece together all this information together, I hope this saves you some time (who knows, maybe the future me will be thankful I wrote this down). Let me know your thoughts. [email protected]