Timemachine on ReadyNAS

July 8, 2014 | By More

Currently my ReadyNAS is running firmware version 4 and so will not bind to my MAC OS X mavericks Server. I am planning to upgrade to version 6 of the ReadyNAS firmware when I have confirmed that the binding will function as expected. So for now the steps below enable me to have a user share which contains the TimeMachine Backup which I can control with quotas’ on the ReadyNAS.

The steps below assume that Time Machine support is already enabled on the ReadyNAS.

Go into FrontView. Under Security > User Accounts I added a user account for each computer with a quota. Aa I have 9TB of storage so I tend to allocate at least 1.5x the computer’s hard drive space for backups and for each user, only two files needed to be created. I am working on a bash script that will automate this process. Please not that the quota you set is counted against all the users files and not just the TimeMachine Backup. I do understand but I have yet to test this, that the .AppleVolumes file created below can contain volsizelimit:size in MiB option. This would be helpful to set the 1.5 times HDD size but set the quota on the ReadyNAS to a larger size.

Repeat the following steps for each user you create:

Open a Finder window and open the AFP (or CIFS) representation of your ReadyNAS in the sidebar or Network folder.

You’ll probably be connected as “Guest” and might see any shares that are publicly accessible. Click the “Connect As” button at the top of the window and connect using one of the user accounts you created earlier.

A folder should show up with the name of the user that you logged on as. That’s the user’s home folder.

Using your favorite plain-text editor create a new plain-text file with a single line containing: (I have added the volsizelimit as I mentioned above. If you don’t need it the remove volsizelimit:500000 from below.)

/c/home/USERNAME ReadyNAS cnidscheme:dbd allow:USERNAME volsizelimit:500000 options:tm 

Note: Replace USERNAME with the exact spelling of the user you’re connected as. (It should match the folder name in case and spelling.) Save this file as .AppleVolumes in the user’s home folder.

Create an empty file called .com.apple.timemachine.supported and save it in the user’s home folder.

Note: both the files start with a . which won’t show up in the Finder normally. Eject the ReadyNAS share when you’re done creating those two files and connect as the next user if necessary. I found I didn’t have to reboot the system to make the changes work for the next step. But it doesn’t hurt.

On your Mac, go into the Time Machine preferences. If Time Machine was already setup, go to Select Disk and choose “Do Not Backup” (this makes it forget the previous username/password that was saved). Then do Select Disk again and choose your ReadyNAS like usual. When asked for a username and password, connect using the user and password you setup for that particular user on the ReadyNAS.

Tags: ,

Category: Mavericks, ReadyNAS

About the Author ()

Comments are closed.