Hi,
A little background. I live pretty much on top of a mountain. There is no internet service here (can't wait for StarLink). I use my phone as a hot spot but the speeds are about the same as dial-up (if that on some days). So my option of backing up all my files to the cloud is a pipe dream. My solution that I turned to is OpenMediaVault. I have an OpenMediaVault server in my house with an 8Tb drive attached to it. In the shed cellar I have another OpenMediaVault server on Raspberry Pi 4 with 2Gb of memory with another 8Tb drive attached. I have it in the shed (God forbid) in case of a forest fire. The shed server is using a 25 watt solar panel and battery as there is no power in the shed.
I have a RSync job setup on my home OpenMediaVault server to run at 2am to back up all files to the shed server.
Instead of having the shed server on all day long (especially in winter with little sun hours) I thought Wake-On-Lan would be my solution. I'm new to Wake-On-Lan and have read many articles about it in the past two days. It sounds great for what I'm looking to do.
On the shed server I enabled Wake-On-Lan in the network portion of OpenMediaServer. I use OpenWRT and created a static IP for both OpenMediaServers and updated the network settings on both servers with the static IP's.
My question:
I read the man pages on RSync and don't see an option to be able to send Wake-On-Lan command when starting the RSync job; including an option to run a script that perform the Wake-On-Lan.
Again, I'm new to this. Can anyone provide me with some advice or point me in the right direction on how I can send the Wake-On-Command packets when starting the RSync job at 2am to the shed server?
Thank you in advance for your time on helping me.
David