Restore Time Machine backup from Synology
If you find yourself in a situation where you need to restore your Mac from a Synology NAS, you will find out pretty soon after you enter the recovery mode, that backup disk is not visible in recovery window. Steps need to be executed in order Recovery process to find NAS.
Best practise is to name Time Machine shared folder on Synology without spaces. Second, if you are using a password with spaces, which I strongly suggest from security point of view, always put it between ' ' example: 'This is my password'.
- Enter the OS X recovery mode by holding Command +R (when Mac restarts and display is grey)
- When window with options is presented, select Utilities from the bar and select Terminal
- In Terminal use following commands:
- Cd /Volumes
- ls /la
- Create a folder to mount Synology to by typing mkdir synology
- Now mount your NAS by entering following command
mount -t afp afp://admin:email@example.com/TimeMachine synology
Where admin is your username with administrative rights, password is password for that account (use ' ' if you are using spaces) and TimeMachine is the name of your TimeMachine share on your NAS.
After it mounts, check if it is really there
- cd synology
- ls -la
Now you need to mount sparsebundle by using hdid (hard drive image driver)
- hdid nameOfThebundle.sparsebundle
Enter the password if needed (if your drive or backup was encrypted)