TL;DR I killed my Homebrew and now need to restore from Time Machine.
I had a working Homebrew with various packages installed and working. I've installed some new packages (upgraded php 5.6 to php 7) which I no longer wanted so I removed them and tried to reinstall the old package. This is not working which I believe is due to my openssl during that process.
I have a Time Machine backup from when everything was working a few days ago. What steps are needed to restore Homebrew to that old state?
I have tried restoring /usr/local/Cellar
directory but it appears I need to do something else (php still running the bad version).
Should I restore /usr/local/opt
? Is there anything else?
I prefer not to do a full mac restore if possible.
Thanks