You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting up a backup up to Google Drive you can configure a "Backup Count".
The "Backup Count" should be the maximum count of backup files in the configured drive folder.
When an new file gets uploaded to the backup folder and the maximum count ist reached, the oldest file should be deleted.
This does work with a personal Google Drive Folder.
This does not work with a Google Shared Drive Folder.
could be access grants on Google's end, trying my setup with 2 works, but I do need to execute twice to see the proper number of items in the gui (removal does not drop them from the list instantly)
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
Opensense Version: OPNsense 24.1.5_3-amd64
Setting up a backup up to Google Drive you can configure a "Backup Count".
The "Backup Count" should be the maximum count of backup files in the configured drive folder.
When an new file gets uploaded to the backup folder and the maximum count ist reached, the oldest file should be deleted.
This does work with a personal Google Drive Folder.
This does not work with a Google Shared Drive Folder.
To Reproduce
https://docs.opnsense.org/manual/how-tos/cloud_backup.html
Expected behavior
The number of backup files should not be greater than the number in "Backup Count".
Old backup files should get deleted.
Describe alternatives you considered
Since the introduction of the possibility to backup to Google Shared Drives I waited several versions for someone to solve the issue.
Workaround: You can create a Google Apps Script that takes care of the backup count from the target side.
Relevant log files
Additional context
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 24.1.5_3-amd64
Intel(R) Celeron(R) J6413 @ 1.80GHz (4 cores, 4 threads)
Network Intel® i226-V
The text was updated successfully, but these errors were encountered: