nas-mac使用TimeMachine备份资料

把mac的资料通过timemachine备份到nas机子上去


参考官方资料: 使用 Time Machine 將 Mac 的資料透過 SMB 備份至 QNAP NAS

步骤

  1. nas 上新建一个共享文件夹MacBackup,并把赋予你的账号 读写权限

  2. nas开启 Samba 3.0, 控制台 -》 网络 & 文件服务 -》WN/MAC/NFS -》 微软网络 ,在 高级设置 中选择 smb3.0,然后应用

  3. mac 里的 finder 中 Go -> Connect to server ,填写nas机子的ip

    然后选择 共享文件夹MacBackup ,此时就会看到连接

  4. 打开设置中的 TimeMachine, system preferences -> time machine ,点击选着一个硬盘,选择nas上的共享文件夹,然后点击 use disk

  5. 这一步很重要!!!然后显示要你输入nas上的账号密码,此时输入密码千万不能点击 conect,不然会报错:osstatus error 17

    此时应该 推出之前连进去的nas,推出后,再点击上面的 connect 连接,才能成功

  6. 连接成功后会显示出硬盘信息

  7. 开始备份

问题

报错:osstatus error 17

解决方案参考:https://apple.stackexchange.com/questions/309264/adding-a-time-machine-destination-fails-with-osstatus-error-17

Here’s where some weird UI trickery comes in:

  1. Connect to the share using Finder
  2. Open Time Machine preferences, click ‘Select Disk’, and then double click the disk at your desired address (in my case I wanted my FQDN). You should now be at the authentication prompt.
  3. With the authentication prompt still open, go back to Finder and eject the share
  4. Sign in to the waiting prompt