Times ago I did a "restore from time machine backup" in order to restore all my files on a new SSD I bought for my macbookpro (with OSX Lion), and all went fine.
Today I installed Mountain Lion on that mac, did a new timemachine backup, then used that backup in order to configure my new retina display macbook pro… initially seemed all ok this time too… but several files were not be backedup properly and I get "corrupted settings"… for example if I use git and svn commands in the terminal it says "no command found" althought under /usr/local/ I have them installed!
What happened? The thing which scares me the more is that in previous backup the files I was working on were backedup with older version (2012)… What should I do?
MacOS – TimeMachine restore issue
backupcommand linemacosterminaltime-machine
Related Question
- Mac – Time Machine restore on new OS
- MacOS – Roll back to Mountain Lion but don’t lose saved documents
- MacBook – time-machine: selective file restore – I just want a few things from a TM backup that was made of another MacBook
- MacOS – Time Machine restore to new partition, different computer
- Mac – Restore Time Machine onto smaller SSD drive
- Mac – How to restore external hard drive from Time Machine backup the right way
- Mac – Move from Intel to M1 with TimeMachine
Best Answer
It sounds like your $PATH is not set correctly. All you probably need to do is set your $PATH in your shell config (.profile, .bashrc, .zshrc, etc… for whatever shell you are using).
For bash derived shells you can use:
export PATH="$PATH:/usr/local"
Are you sure the git binary is in
/usr/local
? One of my machines shows the git binary is in/usr/local/git/bin
and on the other it is in/usr/bin
.I've got different paths for git on different machines, so maybe the new install of git put it in a different place than the old machine.