Posts

Showing posts from July, 2023

Backing up a Raspberry Pi to a Mac

I try to keep most of my amateur radio applications on a Raspberry Pi, although some are on Mac and some on Windows. For general use I have a Mac that is always on, and this machine is backed up on-site using Time Machine and off-site using  Backblaze . So in order to keep my Pi backed up, the simplest method is to synchronise it periodically to the Mac which in turn will be included in the automatic on-site and off-site backups. Should be simple, but in practice I have found that Mac and Pi are tricky to configure over an SMB (Samba) network. Too many versions and options! Hence this blog which documents what works for me. There are two steps: 1. Configure a shared directory on the Mac, and configure the Pi to mount it automatically on its desktop. 2. Set a backup routine on the Pi, with the destination as the shared directory. It is assumed that the two machines are on the same LAN. 1. Configuring a shared folder On the Mac, create a new folder that will be shared with the Pi. In my