I'm still searching around the Internet on how to do this, but I want to ask here, too.
I've setup a Raspberry Pi to run a Mediawiki on the LAN. I also wanted to figure out how to backup said Raspberry Pi as well. I was able to successfully run a backup over the network from the Pi to the Mac mini as outlined in this post using rsync.
The backup job:
Now I want to automate that backup process and I assume cron is the appropriate method to do it, but I haven't figured that part out yet.
The Mac mini is on the latest version of Mojave.
I've setup a Raspberry Pi to run a Mediawiki on the LAN. I also wanted to figure out how to backup said Raspberry Pi as well. I was able to successfully run a backup over the network from the Pi to the Mac mini as outlined in this post using rsync.
The backup job:
From Terminal I executed this code to sync the folder on the Raspberry Pi to the Mac.
Code:rsync -avz -e ssh pi@10.0.1.84:/var/www/html/mediawiki/ MediaWikiBU/
Now I want to automate that backup process and I assume cron is the appropriate method to do it, but I haven't figured that part out yet.
The Mac mini is on the latest version of Mojave.