It does the backup, moves the file to dropbox, deletes the snapshot entry from the Hassio UI, but looking at the /backup folder via WinSCP, files are not deleted from the /backup folder.
I am seeing the following error when I try to install the add-on:
19-03-28 01:02:33 INFO (SyncWorker_7) [hassio.docker.interface] Pull image d0ugal/hassio-dropbox-upload-armv7 tag 1.1.2.
19-03-28 01:02:34 ERROR (SyncWorker_7) [hassio.docker.interface] Can't install d0ugal/hassio-dropbox-upload-armv7:1.1.2 -> 404 Client Error: Not Found ("pull access denied for d0ugal/hassio-dropbox-upload-armv7, repository does not exist or may require 'docker login'").
The add-on repository URL I am using is https://github.com/d0ugal/hassio-dropbox-upload. This is a fresh install of hassio with my config files copied over manually. My searches have not revealed any helpful insight into this yet.
Any way to exclude folders within the share directory? I am running Hassio on Ubuntu hosted in Hyper-V and have a shared drive mounted in the share directory containing around 70GB of media for use with Plex. If I do not deselect the Share directory when manually creating a snapshot, I get an error stating there is not enough space to create the snapshot. This is all fine for manual snapshots, but it would be nice to have the ability to exclude the mounted folders I use for Plex and still backup everything else in the Share directory.
"{'command':'upload'}"
jq: error (at <stdin>:1): Cannot index string with string "command"
[Info] Received message with command
[Error] Command not found:
[Info] Files will be uploaded to: /Hassio_Backups/
[Info] Saving OAUTH_ACCESS_TOKEN to /etc/uploader.conf
[Info] Listening for messages via stdin service call...
{"command": "upload"}
[Info] Received message with command upload
[Info] Uploading all .tar files in /backup (skipping those already in Dropbox)
> Uploading "/backup/062fd142.tar" to "/Hassio_Backups/062fd142.tar"... FAILED
An error occurred requesting /upload
> Uploading "/backup/0c2a51b5.tar" to "/Hassio_Backups/0c2a51b5.tar"... FAILED
An error occurred requesting /upload
> Uploading "/backup/5fb21403.tar" to "/Hassio_Backups/5fb21403.tar"... FAILED
An error occurred requesting /upload
Hi Daniel,
would be fantastic to simply add a command to the addon which can check for space left on Dropbox and create a home assistant sensor. This would allow to make an automation which sends a telegram or ios notification to the user when space on dropbox is finishing…
I notice in the code that the only command allowed is “upload”, but in the if one can ad an elseif for the space command, run
./dropbox_uploader.sh space
which will return
Dropbox Uploader v1.0
Getting space usage info…
Quota: 2048 Mb
Used: 464 Mb
Free: 1583 Mb
(as in my case). From this one can get the Free: token and return it to home Assistant as sensor or something similar. …
one then can trigger the reading of the sensor by calling the hassio.addon_stdin service with the following service data: