However, I notice on my Windows machines’ Recycle Bins, I am seeing all of the deleted backups show up there after they are rotated out. I then have to manually delete these from the recycle bin to free up space. I would like for the Drive Integration, or even HA Backup, to at least have the option of permanently deleting the older backups.
Outside of Home Assistant I have some configuration files being synced to Google Drive and then rotated out using rclone. When deleted those backups do not appear in my Windows Recycle Bin.
This really sounds like a windows problem.
If Home Assistant Deleted the file, then whatever else you got going has to deal with it. It’s out of HA’s scope of influence.
But I too see nothing in my Google Drive Trash folder online. So it seems the Google Windows app is downloading the file locally, then recycling it. This is occurring on all of my Windows PCs where that account is tied to.
I have the same issue on macOS. I am using Google Drive for Desktop Version 117.0.0.0 (Intel) for macOS with file mirroring for Google Drive “My Drive” enabled.
Afaik, Home Assistant actually removes the old backups permanently from the cloud storage without moving them to the cloud trash:
However, the Google Drive Desktop client moves the mirrored files which are permanently deleted from the cloud storage, locally only to the local trash. It is probably a safety measure. But in my case the backups in the trash occupy precious SSD disc space for 30 days until they are automatically deleted from macOS.
I have not found options to either
exclude a directory for mirroring from “My Drive” or
telling Google Drive for Desktop when I mean delete permanently online, I also mean to delete permanently on mirrored devices.