Timecapsule
Time machine backup for MacOS devices
First install samba
sudo apt install samba
Add a samba user
sudo smbpasswd -a mtb
sudo usermod -g users mtb
vi /etc/samba/smb.conf
Configure samba
[global]
workgroup = openvino
min protocol = SMB2
# security
security = user
passdb backend = tdbsam
map to guest = Bad User
# mac Support
spotlight = yes
vfs objects = acl_xattr catia fruit streams_xattr
fruit:aapl = yes
fruit:time machine = yes
#NetShares
[volumes]
comment = Time Machine
path = /timecapsule
valid users = @users
browsable = yes
writable = yes
read only = no
create mask = 0644
directory mask = 0755
Adjust permissions
Restart samba
Connect to the samba server from MacOS finder
Go > Connect to server...
.
Configure Time Machine