No automatic backup on Google Drive

Started by ChrisChros, February 16, 2025, 03:43:55 PM

Previous topic - Next topic
Hello everyone,
I've had the problem for some time now that the automatic backup to a Google Drive folder no longer works. Everything is correctly configured in the settings and when the settings are saved, the backup file is successfully saved in the Drive folder.
However, no automatically generated backup is saved at night. I also created therefore a new cron job, but unfortunately without success.


What else do I need to set up so that the backup is created automatically? Wasn't that already integrated in the past?

Regards, Chris
XSK NUC Intel Celeron J3160 aka Protectli FW4B, 8GB RAM
OPNsense 22.1

Are you actually changing any settings in OPNsense? A daily backup is only created if settings have been changed.

What happens when you click on System->Configuration->Backups->Setup/Test Google Drive?

Quote from: julsssark on February 19, 2025, 03:02:17 AMWhat happens when you click on System->Configuration->Backups->Setup/Test Google Drive?
The system creates the backup file and store it in the google drive folder as expected.

Quote from: jp0469 on February 19, 2025, 12:57:52 AMAre you actually changing any settings in OPNsense? A daily backup is only created if settings have been changed.
I disabled and enabled google drive backup, nothing more.

It looks like that since the update to 25.1 the backup function is not working automatically.
XSK NUC Intel Celeron J3160 aka Protectli FW4B, 8GB RAM
OPNsense 22.1

Quote from: ChrisChros on February 20, 2025, 08:09:54 AMI disabled and enabled google drive backup, nothing more.

It looks like that since the update to 25.1 the backup function is not working automatically.
What I am saying is that a backup is only made to Google Drive when changes to your config have been made since the last backup. For example, I made some minor changes to firewall rules on Jan 31st. That night, a backup was saved to Google Drive. For almost 2 weeks, I made no changes to any settings in OPNsense so no new backups were saved until I made another change on Jan 13th. Try making a minor change to a rule description or something like that and see if it prompts a backup to be saved by the next day.

OK, I will do some miner changes and will report back if the system created a backup on my google drive folder.
XSK NUC Intel Celeron J3160 aka Protectli FW4B, 8GB RAM
OPNsense 22.1

Quote from: jp0469 on February 20, 2025, 02:06:18 PMWhat I am saying is that a backup is only made to Google Drive when changes to your config have been made since the last backup.
Thanks for the hint, it is like you have described. I think they have implemented this during the last update. In the past the system took every day a backup, whether a change was done or not.
XSK NUC Intel Celeron J3160 aka Protectli FW4B, 8GB RAM
OPNsense 22.1