Posts

Showing posts with the label Raspberry Pi

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...

Cloudlog

I have decided to change from using QRZ.com to Cloudlog as my primary logging software. The main reason for doing this is so that I own the database on my machine, rather than trusting it to someone else's server. It is installed on a Raspberry Pi - and that is where the database lives. Although this machine isn't on 24 hours/day, it is normally turned on when I'm doing anything related to amateur radio. If I need logging from a remote location (e.g. if I'm operating whilst on holiday), then I can leave the Pi running at home. I followed the installation instructions here:  https://github.com/magicbug/Cloudlog/wiki/Installation  - except that the resulting installation had a problem with php-xml until I changed from PHP 7.3 to PHP 7.4, i.e.: sudo apt-get install php7.4 php7.4-curl php7.4-mysql php7.4-mbstring php7.4-xml php7.4-openssl Why this should be is a mystery... but it worked for me! Next, I set my router's port forwarding so that incoming Port 80 points to ...