Hass.io Add-on: Auto backup

Same error. It is related to the new google security policy for account with two factor autentication.

Any solution?

I got this error:

2020-01-09 14:43:40,373 INFO  -- ############## AUTO SNAPSHOT TASK STARTED ################
2020-01-09 14:43:41,118 INFO  -- Creating new hassio snapshot autobackup 2020-01-09 15:43:41 - This may take some time...
2020-01-09 14:43:41,124 ERROR -- Error in __get_data: <Response [400]> - b'{"result": "error", "message": null}'
2020-01-09 14:43:41,125 ERROR -- endpoint: snapshots/new/partial - params: {'name': 'autobackup 2020-01-09 15:43:41', 'folders': ['ssl', 'addons/local', 'homeassistant', 'share'], 'addons': ['core_configurator', 'core_mariadb', 'core_letsencrypt', 'a0d7b954_portainer', 'core_ssh', '62c7908d_autobackup']}
Traceback (most recent call last):
  File "/usr/src/app/main.py", line 317, in <module>
    Main()
  File "/usr/src/app/main.py", line 40, in __init__
    self.new_snapshot()
  File "/usr/src/app/main.py", line 135, in new_snapshot
    snapshot_id = result["data"]["slug"]
TypeError: 'NoneType' object is not subscriptable

Any idea what can be the issue ?

Not to steal away attention, but this google drive addon is a super alternative and development is active https://github.com/sabeechen/hassio-google-drive-backup

2 Likes

Thanks for the tip :wink:

Switched to https://github.com/sabeechen/hassio-google-drive-backup
Everything works.

1 Like

This would be my recommendation too. My version was temporary and is now deprecated!

2 Likes

@marcelveldt, Thanks for all of your work on this!

1 Like

I have added repo from first post, but there is no Autobackup (((

Make sure you add:

auto_backup:
  auto_purge: true

To your configuration.yaml or it wont’ be activated. Took me a day of reading and re-reading to find that one.

Hi! Not sure I understand what this is for. Could you try to be a bit more specific? Thanks!

Isn’t auto_purge the default?

I had to put it in my configuration.yaml before the backups started.

I don’t see an Auto BAckup addon?

You are right. I do have installed this add-on and it does a great job creating snapshots every night for me. However, if I attempt to visit the add-on page, it looks like it is down. It used to be here when it worked: https://github.com/marcelveldt/hassio-addons-repo/autobackup#readme

I also don’t see the addon on the list in HA or even in when I check the github root folder.
Is it removed?

Yes, It was removed because there is a better alternative:

2 Likes

Any news about the onedrive support? That would be a real nice feature

4 Likes

Just tried to install this.
when I use the repository address specified it shows up as unknown…!
2021-02-05_14-38-20|507x500

Has this been removed? discontinued?

Look at the comment and the link two posts above.

Yes, onedrive support would be nice !

6 Likes

Please add OneDrive support. That would be awesome. Thanks!

2 Likes