This article describes how to backup a Mac (Mac OS X, MacOS) computer to a NAS share hosted on a Datto SIRIS or Datto NAS.
- Datto SIRIS
- Datto NAS
Any NAS share can store a Time Machine backup generated by a Mac. This article provides steps on creating a new share, configuring its users and AFP settings, and enabling Time Machine on the Mac.
- A Mac running OS X 10.5 Leopard or newer.
- A Datto SIRIS or Datto NAS
- Port 88 (AFP) must be open between the Mac and the Datto appliance.
- User accounts on the Datto device that will be used to access the NAS shares from the target Mac.
Create the NAS Share
Follow the steps below for creating and configuring a NAS share. These steps apply to both Datto SIRIS and Datto NAS:
1. Access the GUI of your Datto appliance.
2. Click File Share, followed by Network Attached Storage.
3. If this is your first share, the Create Share Wizard will display. If there are preexisting shares, click Create Share.
4. In the Create Share Wizard, use the following settings to create a NAS share, as seen in Figure 1:
- Enter the share name (i.e. Time Machine).
- Use the Datto default settings.
- Select NAS as your share type.
5. Click Next, followed by Continue to complete the share creation process.
6. This will direct you to the Your Shares page. Navigate to your newly created share, and click its respective Configure Share Settings page.
6. Verify that the share is private under Make Share Public / Private. It should read as this share is currently set to private.
7. Under Other Share Options, click Enable AFP/Time Machine.
8. Under Add User to Share, and add at least one administrator to access and use this share. This will be used to access the share from the Mac.
Configure the Share as a Time Machine disk
Perform the following steps on the target Mac.
1. Open Finder, then press Command + K to connect to a server
2. In the Server Address field, enter
afp://<IP of Datto device>/
3. Click Connect.
4. Enter credentials for the local user defined in the Datto NAS share's settings.
5. Open System Preferences and navigate to Time Machine.
6. Turn Time Machine on, then select the share name we created from the drop-down.
7. Click Use Disk. Time Machine backups will run as long as the Mac can communicate with the Datto appliance across the local network.
Due to the way Time Machine writes backups to a sparse bundle, the size of this file will grow indefinitely. The storage taken up by the share will grow until there is no space on the Datto appliance. Once full, Time Machine will start deleting the oldest backups to create new ones.
If you are unable to connect via AFP, perform the following steps on the Mac:
1. Open Terminal, and log in as the root user:
2. Run the following command in Terminal:
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
In the event that this does not work, contact Datto Technical Support.
Time Machine Logs
Time Machine logs show up in the
system.log file as
com.apple.backupd. The output looks like the following:
<agentName>.<DNS>.lan com.apple.backupd: Backing up to /dev/disk1s2: /Volumes/<volumeName>/<