You’re not trying to restore Time Machine, are you? It doesn’t live in 
/opt/local. So I assume you are trying to use Time Machine to restore 
everything under /opt/local. Is that right?

If that’s the case, one of the steps is going wrong. For starters, I would 
select /opt in the Finder window that Time Machine displays before selecting 
the date in the timeline.
—
Peter West
[email protected]
“Do not cling to me, for I have not yet ascended to the Father; but go to my 
brothers and say to them, ’I am ascending to my Father and your Father, to my 
God and your God.’”

> On 30 Apr 2023, at 1:12 pm, Tao Zhang <[email protected]> wrote:
> 
> All, 
> 
>   I want to follow the following procedure to restore /opt/local to previous 
> date from time machine external drive, 
> 
> but I get “Time Machine” can’t be modified or deleted because it’s required 
> by macOS." error message after I click "restore" button.
> 
>  Do you know how to fix it? 
> 
> Thanks,
> 
> Tao
> 
> https://apple.stackexchange.com/questions/407890/how-to-backup-and-restore-opt-with-time-machine-on-macos-high-sierra/459300#459300
>  
> <https://apple.stackexchange.com/questions/407890/how-to-backup-and-restore-opt-with-time-machine-on-macos-high-sierra/459300#459300>
> Proceed as follows:
> 
> Open a Finder window.
> Enter Time Machine.
> Press ShiftCommandG and enter / to display the root folder of your drive.
> Press ShiftCommand. to display hidden folders. You should see /opt now.
> Browse the timeline on the right-hand side and select the desired date.
> Select /opt.
> Press Restore. Note that Time Machine will probably ask whether you want to 
> keep a copy of your current files.
>  <https://apple.stackexchange.com/a/459300/494787>
> 

Reply via email to