Setup Networked Time Machine Drive

sudo apt-get install samba avahi-daemon
sudo adduser timemachine
sudo chown -R timemachine: /mnt/TMDrive
sudo nano /etc/samba/smb.conf
comment = Backups
path = /mnt/TMDrive
valid users = timemachine
read only = no
vfs objects = catia fruit streams_xattr
fruit:time machine = yes
sudo testparm -s
sudo smbpasswd -a timemachine
sudo service smbd reload
sudo nano /etc/avahi/services/samba.service
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<name replace-wildcards="yes">%h</name>
</service-group>sudo nano /etc/avahi/services/samba.service

Restart Avahi daemon:

sudo service avahi-daemon restart



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Drake Evans

Drake Evans

A smart man can rationalize anything; set rules and don't break them. Biomedical Engineering, Computer Science, Finance, Economics.