<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">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?<div class=""><br class=""></div><div class="">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.<br class=""><div class="">
<meta charset="UTF-8" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;">—<br class="">Peter West<br class=""><a href="mailto:pbw@pbw.id.au" class="">pbw@pbw.id.au</a></div><div>“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.’”</div></div></div></div></div></div></div></div></div></div></div></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 30 Apr 2023, at 1:12 pm, Tao Zhang <<a href="mailto:tao.zhang@colorado.edu" class="">tao.zhang@colorado.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">
  
  <div class="">
    <div class="s-prose js-post-body" itemprop="text"><p class="">All, </p><p class="">  I want to follow the following procedure to restore
        /opt/local to previous date from time machine external drive, <br class="">
      </p><p class="">but I get “Time Machine” can’t be modified or deleted because
        it’s required by macOS." error message after I click "restore"
        button.</p><p class=""> Do you know how to fix it? <br class="">
      </p><p class="">Thanks,</p><p class="">Tao<br class="">
      </p>
    </div>
    <div class="mt24">
      <div class="jc-end gs8 ai-start d-flex fw-wrap gsy"> <time itemprop="dateCreated" datetime="2023-04-30T03:07:01" class=""></time>
        <div class="flex--item mr16" style="flex: 1 1 100px;">
          <div class="pt2 js-post-menu" data-post-id="459300" data-post-type-id="2">
            <div class="s-anchors gs8 d-flex fw-wrap s-anchors__muted">
              <div class="flex--item"><a class="moz-txt-link-freetext" href="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</a>
              </div>
              <div class="flex--item"><p class="">Proceed as follows:</p>
                <ul class="">
                  <li class="">Open a Finder window.</li>
                  <li class="">Enter Time Machine.</li>
                  <li class="">Press <kbd class="">Shift</kbd><kbd class="">Command</kbd><kbd class="">G</kbd>
                    and enter <code class="">/</code> to display the root folder
                    of your drive.</li>
                  <li class="">Press <kbd class="">Shift</kbd><kbd class="">Command</kbd><kbd class="">.</kbd>
                    to display hidden folders. You should see <code class="">/opt</code>
                    now.</li>
                  <li class="">Browse the timeline on the right-hand side and
                    select the desired date.</li>
                  <li class="">Select <code class="">/opt</code>.</li>
                  <li class="">Press Restore. Note that Time Machine will
                    probably ask whether you want to keep a copy of your
                    current files.</li>
                </ul>
                <a href="https://apple.stackexchange.com/a/459300/494787" rel="nofollow" itemprop="url" class=" js-share-link
 js-gps-track" title="Short permalink to this answer" data-gps-track="post.click({ item: 2, priv: -1,
                  post_type: 2 })" data-controller="se-share-sheet
                  s-popover" data-se-share-sheet-title="Share a link to
                  this answer" data-se-share-sheet-subtitle="(Includes
                  your user id)" data-se-share-sheet-post-type="answer" data-se-share-sheet-social="facebook twitter " data-se-share-sheet-location="2" data-se-share-sheet-license-url="https%3a%2f%2fcreativecommons.org%2flicenses%2fby-sa%2f4.0%2f" data-se-share-sheet-license-name="CC BY-SA 4.0" data-s-popover-placement="bottom-start" aria-controls="se-share-sheet-2" data-action="
                  s-popover#toggle se-share-sheet#preventNavigation
                  s-popover:show->se-share-sheet#willShow
                  s-popover:shown->se-share-sheet#didShow" aria-expanded="false"></a></div>
            </div>
          </div>
        </div>
      </div>
    </div><div class=""><br class="webkit-block-placeholder"></div>
  </div>

</div></blockquote></div><br class=""></div></body></html>