Automatic Backups - Help needed with script and cron job

Started by P195, December 06, 2023, 06:28:46 PM

Previous topic - Next topic
Hi All,

I've been following this guide https://www.zenarmor.com/docs/network-security-tutorials/opnsense-security-and-hardening-best-practice-guide#how-to-backup-configuration-automatically

but I'm stuck on the last few steps (23 & 24)

I'm on windows so I've opened text editor and copied the code shown in and modified the fields with my API key and secret, my hostname and path to where I want to save the backups to.

What do I have to do next? I assume I need to save that text file somewhere on my PC (should it be a .txt or another extension?) and then I think I have to create a new cron job under System > Settings > Cron?

Any help would be much appreciated.
Thanks