How to create automatic backups of hub database

I put together my own Windows .BAT batch script to grab the latest backup and delete backups older than 90 days. I use Task Scheduler to run this once per week. It does use wget referenced above.

@echo off
cls
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo   Grabbing backup from Hubitat...
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"D:\path\to\wget\wget.exe" --content-disposition -P "D:\path\to\save\folder" http://[hub IP    address]/hub/backupDB?fileName=latest
echo Done.
echo.
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo   Deleting older backups...
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo Deleting backups older than 90 days...
ForFiles /p "D:\path\to\save\folder" /M *.lzf /d -90 /c "cmd /c del /q @file" 2>&1 | find /v /i "ERROR: No files found with the specified search criteria."
echo Done.
echo.
timeout 5