remote time machine  

Super easy: you can use a Linux server running netatalk as a Time Machien backup drive. Easy peasy.

Instructions at the link, but in brief:

sudo apt install build-essential devscripts debhelper cdbs autotools-dev dh-buildinfo libdb-dev libwrap0-dev libpam0g-dev libcups2-dev libkrb5-dev libltdl3-dev libgcrypt11-dev libcrack2-dev libavahi-client-dev libldap2-dev libacl1-dev libevent-dev d-shlibs dh-systemd avahi-daemon libc6-dev libnss-mdns

git clone https://github.com/adiknoth/netatalk-debian
cd netatalk-debian
debuild -b -uc -us
sudo dpkg -i ../*.deb

sudo nano /etc/netatalk/afp.conf

You probably want to make a new user with adduser --home $BACKUP_DIR and point the backups to there, adding valid users = $user to afp.conf.

Give it a while for avahi to kick in (I rebooted) and then you should see it in the list of Time Machine drives you can add in Settings.

 
1
Kudos
 
1
Kudos

Now read this

ssh tunnels are magical

After getting the Pi connected upstairs, I figured it would be nice to be able to connect to it when I’m out and about. Now, I don’t have a static IP, and don’t really want to open ports to the Internet anyway, but I do have a shell... Continue →