Good update! But you need to fill in a number for keep_last, otherwise the plugin won’t start (without giving any error in the log). Confused me for a bit, but works great!
How about my previous suggestion/remark? “is it possible to show the date of the latest (successful) uploaded backup in Hassio frontend?”
I think displaying information in the Home Assistant front end is beyond the scope of this (or any) add-on. I can’t think of a way to make this info readily available to a front-end sensor via the add-on off the top of my head, any suggestions?
As for the keep_last parameter, I’ll change it to optional in a bug fix release.
I get the following error in the add on log
[Info] Received message with command upload
[Info] Uploading all .tar files in /backup (skipping those already in Dropbox)
Error loading data from /etc/uploader.conf…
It is recommended to run ./dropbox_uploader.sh unlink
Sounds like a problem either with writing your Oauth token or with reading it. I’d uninstall and reinstall and hope that fixes it. If it persists, I’d guess it’s a problem with the token configuration in your instance of the add-on or something.
Delete the trailing > (as well as the leading <). The entire string is supposed to be replaced with your token, not just the part in between the < and >. This is a documentation convention that I’m used to, sorry if it was not made clear.
This is hopefully fixed with 1.1.2, along with a bug that I ran into with older snaphsots that apparently did not have timezone information when created.
You should now be able to omit the keep_last option entirely.
This is working for me too - thank you! There’s a bit of relief now not having to remember to Snapshot and manually save the .tar file to my NAS. Out of sight, out of mind!
I’m working on a Google Drive add on. Authentication has been the main hurdle with the Oauth flow, but hopefully I’m getting close. You can preview it here and even download and test it out if you want. Haven’t had a chance to test it within hassio as I’m traveling. Note that the usage section in the documentation isn’t updated from dropbox-sync yet.
What? Are you seeing log files uploaded to Dropbox when running the add-on? Only .tar files located in the /backup directory of hassio should be uploaded, as the docs explain.