I have been using your automation for quite a while and it works flawlessly, many thanks for this!
Now the problem I run into is that my sd card runs full from time to time (obviously). At the moment I have an automation telling me when it is almost full and I manuall delete the snapshots > 4 weeks. Can you point me towards how to automate this? That would be great!
Nice. This is how I did something similar in python for the keep_last option in my Dropbox addon. Aside from not being bash, the main difference is that I delete via a service call to the hassio snapshot delete service. Works really nicely.
Feel free to check my progress so far, test it out, or even better, help! I’ve mentioned before that I’ve run into difficulties with handling the authorization solely through the UI for google drive. I actually got the current implementation working once, but when I went back to test it on my raspberry pi, nothing was uploading. I haven’t gone back to the project since then.
The Remote Backup addon stopped working for me and I’m now getting the following error on the supervisor:
18-10-07 15:51:08 INFO (SyncWorker_13) [hassio.docker.interface] Pull image fixated/remote-backup-armhf tag 0.3.0.
18-10-07 15:51:45 INFO (SyncWorker_13) [hassio.docker.interface] Tag image fixated/remote-backup-armhf with version 0.3.0 as latest
18-10-07 15:52:26 INFO (SyncWorker_17) [hassio.docker.addon] Start Docker add-on fixated/remote-backup-armhf with version 0.3.0
18-10-07 15:52:26 WARNING (MainThread) [hassio.api.security] /snapshots/new/full no role for ce20243c_remote_backup
18-10-07 15:52:26 ERROR (MainThread) [hassio.api.security] Invalid token for access /snapshots/new/full
Any idea why I’m missing the API token now? This was working fine until a few days ago FYI. Thanks
Is there a way to specify the actual file name that is used, rather than just the name that Snapshot uses, and if so will/can it overwrite a previous file name (for example I want to name the actual backup file Backup_mon.tar and overwrite it every Monday ?
I second that question - would be cool to have an opportunity to name “automatic” snapshots as for example: “auto_XXXX”, so other operations [like dropbox sync or/and deleting the oldones or something] could be done ONLY on those automatic ones. that way we could keep some “precious” snapshots untouched