horses in the snow, dunes in background

Time Machine Backup To Synology NAS

Making a Time Machine backup from your Mac to a Synology NAS is very convenient and easy to setup. With are a few tricks like quotas and backing up multiple Macs you create a smooth and reliable experience. Both background and a step-by-step guidance are included in this post.

horses in the snow, dunes in background

Time Machine backup to Synology NAS

Time Machine is the backup solution build into macOS. For storing your backup, you can use an external disk that you attach directly to your computer. In case you have network-attached storage or NAS, you could very well use this instead.

synology diskstation ds1520+

A Synology DiskStation is a popular NAS device. I have two of them myself, and I am pleased with it. A DiskStation is very well equipped for storing your Time Machine backups. To be successful, however, you need to take a few settings into account.

This post first explains what to configure and why. Next, you find detailed step-by-step instructions with screenshots.

More on Synology at Storage Alchemist

This post is also published and maintained at the Storage Alchemist, our other website about Synology. You are welcome to check it out.

Contents Overview

I am aware that there are quite some posts about this topic on the web. My reason for adding my version is threefold.

  1. DSM, the software on the Synology NAS, is progressing. This makes some publications outdated. The time of this publication marks the end of the DSM 6 era, with DSM 7 around the corner
  2. Second, most publications do not take the different setups into account. It is not the same setup for every user. There are several differences that I will highlight here.
  3. Last but not least, I wanted to set up it myself, so why not share it with you?

The basic configuration of a Time Machine backup to a Synology NAS is rather straightforward. I outline it in the Generic configuration section below.

In some additional Background notes, I discuss several differences and exceptions that may or may not apply to you. It also helps you to understand what you are doing while setting up your Time Machine backup to your NAS.

I advise you to go through all of them and determine whether they apply to your setup or not.

Generic configuration

Setting up a Time Machine backup to your Synology DiskStation involves several steps on both the NAS and the Mac.

On the NAS, you take the following steps:

  1. you create a shared folder on your NAS exclusively for the backups
  2. next, you create a user account on your NAS exclusively for the backups
  3. finally, you enable and optimize a file service for the Time Machine backup

The steps on the Mac are:

  1. you connect to the shared folder on the NAS that you created earlier
  2. next, you direct the Time Machine to that shared folder
  3. optionally, you can exclude folders on you Mac from being backed up
  4. last, you start the backup and set it to run automatically

Background notes

To help you better understand what you are doing and highlight differences in the setup, I add some background notes to the generic configuration overview above.

File system

The storage on your Synology DiskStation is configured as a Volume with a file system. This file system is either Btrfs or EXT4. Both are fine for our purpose. However, they work differently concerning a quota that we configure along the way.

synology, storage manager, btrfs

You can check your file system from Storage Manager, an application you find when you log in to the DiskStation Manager or DSM. Select the volume and check your file system.

The Btrfs file system, which you find mostly on each DiskStation Plus series model, allows you to set a quota per shared folder and per-user or group for each shared folder. We will use the last option (per-user or group).

synology, storage manager, ext4

The EXT4 file system is available on all DiskStation models but is the only option on the Value series models. This file system has fewer options for quota management.

A volume with the EXT4 file system lacks quota on a shared folder. You can define a quota for a user or group for the entire volume, not per shared folder as with Btrfs.

I will cover both the Btrfs and the EXT4 file systems when defining quotas in my step-by-step instructions.

File service

Both your Synology DiskStation and your Mac use common file services as SMB and AFP. Besides, both are enabled on either device by default.

It is less common to choose only one file service unless you specifically need both for different purposes. Yes, fewer file services improve performance and stability.

synology, control panel, file services, smb

Since AFP stands for Apple File Protocol, it sounds for most Mac users a safe bet to use. Unfortunately, it is not.

AFP is an outdated and deprecated protocol and should be avoided. Apple adapted SMB a long time ago. In fact, since macOS Sierra 10.12, Time Machine backup runs over SMB, if you allow it to.

Hence my advice to disable AFP on your NAS and exclusively use SMB unless you have an older version of OS X (10.11 and older are called OS X, not macOS) or an application that needs AFP.

DiskStation Manager version

Because the technology progresses rapidly, I include the DiskStation Manager (DSM) version in this post. The layout of application pages changes and options often expand with newer versions.

For example, before DSM 6.1, you could only assign a single Time Machine folder in your file services configuration. Now you can assign multiple folders, and the location of that option has moved to a different tab.

With DSM 6.2.4 current and DSM 7 in beta, I made some additional notes for the beta. DSM 7 does not change much about the current setup. Only a few screens have a different layout.

However, note that a version of Active Backup for Mac is expected after DSM 7 is released. This might make Time Machine obsolete. Please note that the current range of Active Backup packages is not available for DiskStation models from the Value and J series. These models will likely keep using Time Machine to back up their Macs.

Quota for storage space

Time Machine creates a multi-generation backup. It continuously adds to the backup what is new and changed on your Mac. It will use all available space in the long run, after which it will start deleting old backups. The Time Machine screen on your Mac states it clearly.

macos 10.15, catalina, system preferences, time machine

To tell Time Machine to start deleting the oldest backups, enable a space limit through a quota.

Alternatively, you can define a separate volume on your NAS for Time Machine backups as a way to limit disk space. I do not cover that option here.

Multiple Macs

Most descriptions of a Time Machine backup to a Synology DiskStation do not cover how to backup multiple Macs. Should you create separate shared folders, separate user accounts, or both? How do you manage the necessary quotas?

Since each Mac with Time Machine creates a distinct backup file, there is technically no need to create a separate shared folder for each Mac. All backups from your respective Macs can go into the same shared folder for Time Machine backups.

Because you must limit the maximum size of your backup with a quota, and we assign quotas to the TimeMachineUser account that we use for the backup, I advise you to create a user account per Mac for its Time Machine backup. It obviously makes sense to include the name of your Mac in the name of that user account for easy identification.

You can create multiple shared folders, one for each Mac. The benefit of this additional step is a complete separation assuming that you only give one TimeMachineUser access to each shared folder. Now, no TimeMachineUser account can affect (read: delete, change) another Time Machine backup file.

Continue Time Machine

If you already run Time Machine on another device, you have three options:

  • you continue with that backup on your Synology NAS, retaining your backup history
  • also, you have the option to use both locations; Time Machine will alternate between locations
  • start with a new backup on your Synology NAS.

I will assume the last option but cover the other two in the step-by-step guide as well.

Configure Your DiskStation

Okay, let’s get started. Open your browser, point it to your Synology DiskStation with its IP address or server name and log in to DSM with an account with administrative privileges.

synology, control panel, file sharing

You only need the Control Panel application, and an icon is probably on your DSM desktop. In Control Panel, we will only use the top row of icons.

Create a shared folder

Open Control Panel and click on Shared Folder. Click Create button to create a shared folder. Give the shared folder a name like TimeMachineBackup and a description like for Time Machine backups.

Note that I prefer not to use spaces in folder names, but you are free to do so. Select the location if you have multiple volumes on your NAS.

synology, shared folder, create wizard, dsm6

Enable Hide the shared folder in “My Network Places” as you won’t interactively access the folder from Finder or Windows Explorer as any other user. This does not affect any functionality or the ability for Time Machine to find and use the folder.

Do not enable the Recycle Bin as you won’t delete individual files from the backup.

synology, shared folder, create wizard, dsm6

Do not encrypt this shared folder. If you need encryption, use the Time Machine option for encryption. I will show you that option later in this post.

synology, shared folder, create wizard, dsm6

Set the advanced settings (available on volumes with Btrfs only) to your preferences. I suggest not to use file compression and shared folder quota. We will define a quota for the user later, and file compression asks for many resources from your NAS.

Data checksum is an option. It takes additional resources from your NAS. Note that you can not disable it later.

Tip: if you are not sure how either compression and data checksum affect the performance of your NAS, do a test run and open Resource Monitor from the DSM desktop. If you have a separate storage pool with dedicated disks for this purpose and a powerful processor, you can safely use these options, either one or both.

synology, control panel, shared folder, dsm6

Skip the screen to set the Shared Folder permissions and click OK. Review the result as in the screenshot above.


In case you plan to create multiple shared folders for different Macs, I suggest you include the Mac name in the shared folder name. Like I mentioned earlier, however, you can store backups from different Macs in the same shared folder and use different user accounts for each Mac.

Multiple shared folders for each backup creates full separation of backups and user accounts that have access to these backups. It is the safest option and perhaps a best practice in larger environments.

We create a user account in the next step.

Create a user account

Continue in Control Panel and click on User. Click Create to create a new user. In the User information screen, fill in the name like TimeMachineUser.

If you have multiple Macs, I suggest you create multiple accounts with a name like TimeMachineUser_MBP15AZ, where MBP15AZ is the computer name.

Add a description like for Time Machine backup or for Time Machine backup of MBP15AZ.

synology, user create wizard, dsm6

Enter a password or use the password generation here, which is a great feature but limited to a six-character password.

Copy and paste the password into a file or note. I prefer to use a password manager for that purpose. Make sure you use a strong and unique password as you never have to type it in, and you won’t change it often.

Check the box for Disallow the user to change account password. This ensures that the password will not accidentally change, as this will disrupt your backup process.

synology, user create wizard, dsm6

Let the user only join the Users group (default). Do not make this user a member of the Administrators group. Quota settings are not enforced on members of the Administrators group.

synology, user create wizard, dsm6

Give the user Read/Write access to the TimeMachineBackup folder you created earlier.

synology, user create wizard, dsm6

Set the quota for the user. A rule of thumb for the amount is between 2 and 3 times the computer’s hard disk size. For a 500MB drive, I set the quota to 1 TB. Note that larger quotas give a more detailed backup history.

The screen you see here above is for a volume with the Btrfs file system. If you have the EXT4 file system, only the volume(s) is listed. Use the same quota values for the user. Select the volume that contains the Time Machine shared folder if you have more than one volume.

synology, user create wizard, dsm6

The next step is optional. In the Assign application permissions screen, I deny all application permission in my setup because the backup account will not use any application on the Synology NAS. This also limits the potential abuse of this account.

synology, user create wizard, dsm6

Skip the settings for User Speed Limit.

synology, control panel, user, dsm6

Review the result of your work in Control Panel > User.

Congrats, you created the Shared Folder and the User. In the next and last step of the configuration of your DiskStation, we look at the File Services.


If you plan to create multiple users for many Macs, I suggest you create a group named TimeMachineGroup and make all Time Machine user accounts a member of this group.

Continue in Control Panel and click on Group. Click Create to create a new group.

synology, group create wizard, dsm6

Give this group Read/Write permissions to the TimeMachineBackup shared folder instead of the users.

Next, you could assign a quota to the group instead of the user accounts, but not all Macs have the same size hard drive. Hence they require different quotas. Therefore it is better to assign quotas to the user account.

Next, you assign the deny application permissions as mentioned earlier to the group instead of the user accounts for easier maintenance.

Configure file services

Continue in Control Panel and click on File Services and select the SMB/AFP/NFS tab if you use DSM 6. On DSM 7, each file service has its own tab.

I assume you use macOS 10.12 Sierra or later and will therefore use SMB and not AFP. If you prefer to use AFP, read that instead of SMB in the first two steps and screenshots and the Enable Bonjour Time Machine broadcast setting.

synology, control panel, file services, smb, dsm6

Under SMB, check Enable SMB service if it was not enabled already and disable the AFP file service on the same page.

synology, control panel, file services, smb, dsm6

Next, click the Advanced tab.

Under Bonjour, set a checkmark for Enable Bonjour service discovery (default). Next, do the same for Enable Bonjour Time Machine Broadcast via SMB. Click on the Apply button.

A message may appear that notifies you that the Bonjour Time Machine broadcast via SMB also enables SMB3 Windows file service, Opportunistic Locking, SMB durable handles, and SMB2 lease.

These are advanced SMB settings that we will review in a minute. Click on the Yes button.

synology, control panel, file services, smb, dsm6

Click on the Set Time Machine Folders button and enable the TimeMachineBackup shared folder that you created earlier. In case you created multiple Time Machine folders, enable them all. Click Apply.

synology, control panel, file services, smb, dsm6

Go back to the SMB/AFP/NFS tab in DSM 6 or the SMB tab in DSM 7. Skip this step if you use AFP.

synology, control panel, file services, smb, dsm6

Under SMB, click on the Advanced Settings button. Review the settings that the Bonjour setting enabled earlier. Note that the minimum SMB protocol is still SMB1. Increase that to SMB2, and click Apply.

Note: only ancient Windows clients like Windows XP use SMB1. Most Windows and macOS computers use SMB2 or SMB3 which are more secure.


Unless you have an older Mac that runs OS X 10.11 El Capitan or earlier, there is no need to use AFP, and I encourage you to switch it off and only enable SMB. You can do that from the SMB/AFP/NFS tab under AFP in DSM 6 or the AFP tab in DSM 7.

Note that if you connected over AFP earlier from your Mac to shared folders on your NAS, you might have to reconnect over SMB.

Configure Your Mac

Now that you have set up your Synology DiskStation, it is time to get your Mac ready. Most of the work is done in System Preferences > Time Machine. We also use the Finder for a moment.

Stop Time Machine backup

In case you already use Time Machine to back up your Mac to another device, I suggest you stop Time Machine first before you continue. If it is currently running, either wait until it is finished or stop the backup from the Time Machine icon in the menu bar.

macos 10.15, catalina, system preferences, time machine

Next, uncheck the option Back Up Automatically. We enable this again when we are finished. Any running backup will stop. In case this option is greyed out, you have to authenticate as an administrator first. Click the lock and authenticate to unlock it.


Note that it is possible to continue with your current Time Machine backup in its new location on your NAS. Alternatively, you can start fresh with a clean slate on your NAS.

If you like to continue with your current backup, just copy the backup file from the old to the new location on the NAS now. Make sure Time Machine does not back up during copying. Only when copying is finished, you continue with the next step.

Connect user to NAS

The next step is to make a connection from the Mac to your NAS. You connect to the dedicated shared folder TimeMachineBackup with the specific user TimeMachineUser you created earlier.

finder, connect to server, macos 10.15 catalina

From Finder > Go > Connect to Server, type:


If you have set up the NAS file service to AFP instead of SMB, replace smb:// with afp:// in the command above.

Notice in the screenshot above that I saved three different syntaxes for the same server. Time Machine defaults to the nas_name.local syntax.

finder, authenticate to server, macos 10.15 catalina

Next, you get the authentication screen. Enter the name and password of the TimeMachineUser that you created on the NAS. In case you created more users for different Macs, enter the credentials for the right user here. I suggest not saving the credentials in your keychain unless you prefer to store the password there.

The purpose of this connection is to help the Time Machine connect in the next step. My experience is that this step is not necessary if the Time Machine folder is configured for Bonjour on your Synology DiskStation, and the computer and NAS are on the same IP subnet (same address range in plain English).

Summary: it may help and does not hurt.


Initially, I failed to connect with the new user from my Mac. I had disconnected my regular user account from the NAS as I was aware that two different user connections from the same Mac would not work anyway.

However, on the Mac, you do not always get a dialog for entering user name and password. It automatically uses my everyday credentials that are stored in the Mac’s Keychain.

I finally made it work with a trick. The trick is to use a different syntax for the nas_name. Normally, I use something like mynas. If you use the mynas.local name, or the IP address, macOS handles it as a new connection, offering a connection dialog that asks for user name and password.

Connect Time Machine to NAS

It is now time to connect and tell Time Machine about the new backup location on your NAS. Open System Preferences > Time Machine on your Mac. Click on the Select Backup Disk… button.

macos 10.15, catalina, system preferences, time machine

Assuming you currently have no disk selected for the Time Machine backup, select the prepared shared folder on your NAS.

Note the Encrypt backups option. Enable it if you need backup encryption. As you might remember, we did not enable encryption on the shared folder on the NAS. Your computer processor is more powerful than the one in your NAS. It is therefore better to let your computer do the heavy lifting for the encryption.

macos 10.15, catalina, system preferences, time machine

Click on the Use Disk button to confirm the backup location. You are now asked for a user name and password. Fill in the TimeMachineUser name and password that you created on your Synology NAS.


If you are currently using another disk, click the Select Disk button, select the location and click the Remove Disk button.

macos 10.15, catalina, system preferences, time machine

Optionally, you can leave the current setup as is. When you select a new location, you get the following question:

macos 10.15, catalina, system preferences, time machine

Now you can replace the original location, similar to the Remove Disk option, or use both locations.

Start Time Machine

Now that all is set and done, it is time to start your Time Machine backup. Enable the Back Up Automatically setting that we disabled at the start. I suggest you also enable Show Time Machine in menu bar in the Time Machine preferences.

Note that you can also manually start and stop a backup at any time from the Time Machine icon at the system tray area in the menu bar.

menu bar, time machine, macos 10.15 catalina

Note that the first backup may take quite some time. You may want to temporarily disable power saving for the computer and only let the display go to sleep.


In Time Machine, you can exclude items from backup. In System Preferences > Time Machine on your Mac, click on the Options… button.

macos 10.15, catalina, system preferences, time machine

If you have multiple users on your Mac, note that each user can add a folder to the exclude list for him or herself.

You can enable Exclude system files and applications to make the backup smaller and enable Backup while on battery power.

Thank you

For reading. Please feel free to leave a comment. Like us on Facebook or subscribe to our newsletter to stay informed about new blogs.

Best Regards,

Image Alchemist

20 replies
  1. The Rotorhead
    The Rotorhead says:

    Appreciate the detailed setup info, specifically the File Service configuration and especially the recommendation to not utilize AFP on the Disk Station. I have now configured 2 DS’s in different physical locations using the “Both” option under “Select Disk” in Time Machine preferences to achieve disk rotation via VPN to maintain an off-site version.

  2. John
    John says:

    Thank you SO much for the detailed setup, it’s extremely helpful. I am going to use this to backup four Macs to a Synology NAS. I would love to see a similar writeup on how to then copy those time machine backups from the Synology to an external hard drive weekly for offsite backup. Would you use HyperBackup or USBCopy? If the computers are backing up via TM to the Synology, would this impede an offsite copy? I have so many questions! 😛 -John

    • Image Alchemist
      Image Alchemist says:

      Hi John,
      Good to hear this is helpful to you. It motivates me as well! Regarding your question about whether to use Hyper Backup or USB Copy, for offsite backup to an external drive, I am not sure. HB makes incremental backups, which is faster, but maybe you want just the last TM backup file on your disk. USB Copy should do the trick in that case.
      Best, Paul Steunebrink / Image Alchemist

  3. Gregory
    Gregory says:

    Thank you! My 7.2 TB synology DS412+ was nearly our of space because my time machine backup had not quota limit set to it… I had to delete the shared folder and start over with your settings. It now appears to be working beautifully and I now have lots of storage available! Cheers!

  4. Judith
    Judith says:

    Thank you for the detailed description! It really worked smoothly and saved me a lot of time and hustle. Thank you so much!

  5. David
    David says:

    This is a fantastic post on setting up a Synology for Time Machine backups. It covers all the gory details with really great explanations and recommendations. I’ve been a bit frustrated trying to find really good information about the Synology on the internet. I’m so glad I found this post!

  6. Choke Nygren
    Choke Nygren says:

    Great tutorial it helped me a lot when I now have installed my first Nas.
    But I am curious to find a way to also have my time machine capsule from my Nas also stored on Synology cloud service – try to live with the 3-2-1 principals.
    Is this something you have any experience in?
    Best regards

    • Image Alchemist
      Image Alchemist says:

      Hi Choke,
      I can make a Time Machine backup to two different devices from one Mac, as I describe in my post. But I assume you like to connect the Time Capsule to your NAS. I have thought about it but have not figured it out yet.
      Best, Paul Steunebrink / Image Alchemist

  7. Lisa R. Reisman
    Lisa R. Reisman says:

    Hello! Thank you for the detailed tutorial! I have not bought the Synology yet. I am currently using a Drobo 5D for Time Machine. My issue with the Drobo is being able to expand the Time Machine volume without having to reformat, which is a huge pain. I have just filled my volume again, need 19TB of holding space in order to increase the volume size. I have replaced drives to add more physical space, but to change the time machine volume size, will delete the existing backups.

    So, I am looking at the DS1520+ NAS to use for Time Machine now, and wondering if it is possible to expand the shared folder quota without disturbing the existing backups? Of course this would coincide with increasing the ‘pool’ size, that’s the easy part.

    What is your advice in handling this type of thing?

    Thank you!

    • Image Alchemist
      Image Alchemist says:

      Hi Lisa,
      I foresee no issue in expanding a shared folder quota on a Synology NAS. It does not affect any files or folders inside that shared folder.
      Best regards, Paul Steunebrink / Image Alchemist

  8. Eric
    Eric says:

    I have this set up on my Synology NAS.

    I have a problem though. I have 2 separate users that I connect from my Mac to the Synology. I also have 2 separate shared folders on the NAS: 1 shared folder for all my network media and 1 shared folder for the Time Machine. I have 2 separate user accounts for these as well since I want their permissions to be separate. Also, I can use quotes on the Time Machine user.

    I cannot figure out how to connect to the shared folders from my Mac using both usernames at the same time. I can do one at a time, but I can’t do both at once.

    Any tips, advice, or guides on how to do that?

    • Image Alchemist
      Image Alchemist says:

      Hi Eric,
      I think you only need one user account to connect from your Mac to the NAS. That is the account that uses data interactively, to the shared folder for all your network media. The account you have for Time Machine is only used by Time Machine in the Time Machine setup.
      If you need further assistance, do not hesitate to contact me directly by mail.
      Best regards, Paul Steunebrink / Image Alchemist

  9. George
    George says:

    Hi Eric,
    I wondered how to copy the old backups from the old disk onto the NAS.
    Isn’t there a straight forward way, that – when creating the new time machine location – copies the old backups to this new location?

  10. Bob Armbruster
    Bob Armbruster says:

    Thank you very much, Paul, for your clear instructions on setting this up. I’m using a ioSafe 218 NAS for backup of two iMacs. The 218 NAS uses Synology software and your directions were perfect.
    I have also enjoyed some of your posts on photography.


Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *