Hi Peter,
Yes. I want to use Time Machine to restore everything under /opt/local
because
installing Macport package causes the failure of other working
software, such as NCL, ncview....
It turns out that I made a mistake for "enter time machine".
I click the "application--->time machine app" to activate the time
machine. It's wrong.
I should choose "enter time machine" in the time machine icon at top
of Macbook laptop.
Now it is OK to restore the files.
Tao
On 4/29/23 10:20 PM, Peter West wrote:
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
p...@pbw.id.au
“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 <tao.zh...@colorado.edu> 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
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.