Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2022 14:36:08 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        questions@freebsd.org
Subject:   Re: Building a FreeBSD NAS
Message-ID:  <c81e0ae7-609b-d73f-a6bc-320bcfa6d928@FreeBSD.org>
In-Reply-To: <fa8a81fc-8897-8902-4577-49fe2b6877af@netfence.it>
References:  <188a6994-9428-6d65-6ac0-e8d92997a389@gmx.at> <2F6C212A-B857-4DA3-8EDE-92787941BB57@kukulies.org> <fa8a81fc-8897-8902-4577-49fe2b6877af@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05/02/2022 17:57, Andrea Venturoli wrote:
> 
> On 2/5/22 13:38, Christoph Kukulies wrote:
>> Main aim is to access it from macOS as NAS backup server.
>>
>> MacOS should be able to recognize it as a backup medium.
> 
> So you mean TimeMachine?
> I think that's possible with net/samba413 (but didn't try myself).
> 


I have a fake TimeMachine set up using netatalk3 and avahi.  The 
important bit from afp.conf is:

```
;
; Netatalk 3.x configuration file
;

[Global]
   mimic model = TimeCapsule6,106

[Time Machine]
   path = /TimeMachine
   time machine = yes
   ea = ad
```

and afpd.conf:
```
"Xenophobe" -tcp -noddp -uamlist uams_dhx2.so -ipaddr 
2001:8b0:151:1:54f9:9484:e8b0:12d1 -cnidserver 
2001:8b0:151:1:54f9:9484:e8b0:12d1:4700 -mimicmodel RackMac
```

(That should all be on one line.)

As I recall (it's been several years) setup was mostly cut'n'paste from 
various articles I found around the web.  Works like a charm.

/TimeMachine is a ZFS limited to refquota=256G, so that the backup 
doesn't attempt to fill up my whole harddrive.

	Cheers,

	Matthew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c81e0ae7-609b-d73f-a6bc-320bcfa6d928>