Remove the drive as your backup disk in Time Machine, then open your terminal and run. beware that running this command will remove any other existing time machine destination disks!
sudo tmutil setdestination smb://uruser:urpass@NAS_IPADDRESS/TimeMachineName
If you don't want to remove all the existing destinations, you can pass the -a argument.
sudo tmutil setdestination -a smb://uruser:urpass@NAS_IPADDRESS/TimeMachineName
Source
Answer from curmil on Stack ExchangeRemove the drive as your backup disk in Time Machine, then open your terminal and run. beware that running this command will remove any other existing time machine destination disks!
sudo tmutil setdestination smb://uruser:urpass@NAS_IPADDRESS/TimeMachineName
If you don't want to remove all the existing destinations, you can pass the -a argument.
sudo tmutil setdestination -a smb://uruser:urpass@NAS_IPADDRESS/TimeMachineName
Source
I use AFP. The Synology article referenced below, which is what I followed, uses AFP. My personal experience is that in general I have less trouble with Apple equipment when I use their own software for connectivity.
https://www.synology.com/en-us/knowledgebase/DSM/tutorial/Backup_Restore/How_to_back_up_files_from_Mac_to_Synology_NAS_with_Time_Machine#t2.1
Videos
Anybody knows whats to do?
What is the recommended way to encrypt the Time Machine backup and other folders on the Synology NAS? I want to ensure that if someone physically steals the NAS, they can't just easily view all of its contents.
You might check application Keychain Access without affecting the existing backup.
- It should contain an entry which is named like your Computer and ends with sparsebund.
- It lives in Keychain system
- It is of type application password
Once the entry is found get its info and show its password. You will need your account's admin-password for this.
I figured out a way. You can unmount the Time Machine backup, and remount it. It will ask for your password again. Just know that if the password is incorrect, you won't be able to access any of those files.
I struggled to get Time Machine set up when I got the Syno, so I ignored it for a while. Syno 920+ on 7.1, Mac on Sierra.
Trying again following the Synology instructions, it says to go to the server smb://<server> and enter the TM username/password. At this point, the Mac add just uses the username/ password it already has stored for the server, which is the logged-in user. When trying to connect on TM, it asks for a username/password, and in Log centre, I see that it connects successfully. But then when it tries to do the backup, it fails on the Mac with an access error (nothing in Log Cenre). Q1. Shouldn't an access denied error generate a log entry?
So I've changed the user's permissions on the Syno to have RW to the TM share, and it now looks like it's starting to backup.
Q2: is it a problem that the normal user account is doing the TM? (I understand the concept of an account for a service with only aves and permissions to that service)