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
I canāt quite get Remote Backup Add-On to authenticate. I get an authentication error in the log file.
Backup created: f25b58f4
Copying password-protected f25b58f4.zip to ~/hassio-backups on 10.0.1.76 using SCP
adding: f25b58f4.tar (deflated 1%)
Warning: Permanently added '10.0.1.76' (ECDSA) to the list of known hosts.
Permission denied, please try again.
Permission denied, please try again.
Received disconnect from 10.0.1.76 port 22:2: Too many authentication failures
Disconnected from 10.0.1.76 port 22
lost connection
To debug this, I confirmed that I can ssh into my host remote machine. However, that uses a password instead of a KEY. I confirmed my PRIVATE KEY by re-entering it a second time. Am I using a supported encryption? Any other suggestions?
I made the change to the key as recommended, but it still fails to authenticate.
To attempt to debug this further, I made my own stand alone run.sh script based on the run.sh in the Remote Backup. When I execute my run.sh test script, to my surprise I was prompted for a password. In other words, it isnāt using the key alone. It is still requiring user interaction, which I think is not intended. When I enter the password, it completes the script and copies a test dummy file correctly.
I am trying to remote into a iMac. I wonder if there is some minor changes for the Mac OSX that make it not work with the current configuration.
Any other ideas or recommendations for further debug?