All Articles

Time machine with Raspberry Pi

From my previous post, I have set up a NAS with my Raspberry Pi. Now I want to back up my Mac to it with Time Machine. This is made easy with Time Machine compatible with SMB.

Steps

1. Creating a user for time machine backups

I want to create a user for Time Machine to log on to as, and set quotas so it doesn’t use up all the space.

Go to Access Rights Management > User and click on “+Add” Add user 01

Set the username and password Add user 02

Make sure this user is in the users group. Add user 03

Now you should see the user in the list Add user 04

2. Manage user quota

Go to Storage > File systems and click on the device the Time Machine share is on. Then click on the Quota button. user quota 01

Now set the quota for the Time Machine user. I heard from a source that setting it to 2 times your mac storage should be enough. user quota 02

3. Creating a SMB share

Go to the share tab in Services > SMB/CIFS and click Add smb share 01

Click on + to add a new folder smb share 02

Enter your configurations smb share 03

Remember to enable Time Machine Support, then save. smb share 04

Finally, enable SMB smb share 05

4. Connect via Time Machine

Now the Time Machine share will show up in the Time Machine interface. Time Machine 01