Skip to content

Releases: sabeechen/hassio-google-drive-backup

v0.112.1

03 Dec 16:59
fc13b1c
Compare
Choose a tag to compare

v0.112.1 [2023-11-03]

  • Added warnings about using the "Stop Addons" feature. I plan on removing this in the near future. If you'd like to keep the feature around, please give your feedback in this GitHub issue.
  • When backups are stuck in the "pending" state, the addon now provides you with the Supervisor logs to help figure out whats wrong.
  • Added support for the "exclude Home Assistant database" options for automatic backups
  • Added configuration options to limit the speed of uploads to Google Drive
  • When Google Drive doesn't have enough space, the addon now explains how much space you're using and how much is left. This was a source of confusion for users.
  • When the addon halts because it needs to delete more than one backup, it now tells you which backups will be deleted.
  • Fixed a bug when using "stop addons" that prevented it from recognizing addons in the "starting" state.
  • The addon's containers are now donwloaded from Github (previously was DockerHub)
  • Added another redundant token provider, hosted on heroku, that the addon uses for its cloud-required component when you aren't using your own google app credentials.

What's Changed

New Contributors

Full Changelog: v0.111.1...v0.112.1

v0.111.1

20 Jun 00:26
80f9f14
Compare
Choose a tag to compare
  • Support for the new network storage features in Home Assistant. The addon will now create backups in what Home Assistant has configured as its default backup location. This can be overridden in the addon's settings.
  • Raised the addon's required permissions to "Admin" in order to access the supervisor's mount API.
  • Fixed a CSS error causing toast messages to render partially off screen on small displays.
  • Fixed misreporting of some error codes from Google Drive when a partial upload can't be resumed.

v0.110.4

28 Apr 21:55
365ca1e
Compare
Choose a tag to compare

Fixes an issue causing authentication to fail because of whitespace on the latest Home Assistant core.

v0.110.3

24 Mar 23:24
0561762
Compare
Choose a tag to compare
  • Fix an error causing "Days Between Backups" to be ignored when "Time of Day" for a backup is set.
  • Fix a bug causing some timezones to make the addon to fail to start.

0.110.2

24 Mar 16:13
dc294c7
Compare
Choose a tag to compare

Changes:

  • Fix a potential cause of SSL errors when communicating with Google Drive
  • Fix a bug causing backups to be requested indefinitely if scheduled during DST transitions.

0.109.2

16 Nov 08:37
b32c237
Compare
Choose a tag to compare

Fixes a bug causing backups in Google Drive to be erroneously deleted when "Max Backups in Google Drive" is 0 and "Delete After Upload" is enabled.

0.109.1

09 Nov 02:37
2d85355
Compare
Choose a tag to compare

v0.109.1 [2022-11-07]

  • If configured from the browser, defaults to a "dark" theme if haven't already configured custom colors
  • Makes the interval at which the addon publishes sensors to Home Assistant configurable (see the "Uncommon Options" settings)
  • "Free space in Google Drive" is now published as an attribute of the "sensor.backup_state" sensor.
  • The "binary_sensor.backups_stale" sensor will now report a problem if creating a backup hangs for more than a day.
  • Fixes potential whitespace errors when copy-pasting Google Drive credentials.
  • Fixes an exception when using generational backup and no backups are present.

v0.106.1

22 Mar 16:25
15dd293
Compare
Choose a tag to compare

New Stuff

  • You can now set a time after which any ignored backups are automatically deleted. Useful if you, for example, ignore backups created during add-on/HA upgrade but still forget to un-tick the checkbox to automatically create those backups.

Fixes

  • Google recently changed how developers generate and use their authentication API, so I've had to update the addon to work with the new scheme for those authenticating using their own Google API credentials.
  • When uploading backups from Drive -> HA through the nabu-casa remote UI, progress would stall indefinitely because of a timeout.

To update the addon either wait for HA to notice by itself or go to "Configuration" > "Add-ons, Backups & Supervisor" > "Add-on Store" > "..." > "Check for updates"

v0.105.1

07 Sep 19:41
60f153d
Compare
Choose a tag to compare

[0.105.1 2021-9-7]

This version will automatically update your addon's configuration to reference "backups" in its configuration keys instead of "snapshots". It will also, with your permission, start publishing its sensor values with the word "backup" instead of "snapshot". Visit the addon Web-UI after updating for details.

New

  • Updated the addon to reference "backups" instead of "snapshots":
    • UI no longer refers to "snapshots"
    • Published sensor now refer to "backups" (this is configurable).
    • Use the supervisor's new "/backups" endpoints.
    • Configuration options now refer only to "backups".
  • Add config option "call_backup_snapshot" for if you still want published sensors to refer to "snapshots"
  • Improved error messaging when Google credentials expire.
  • Added an option to pre-emptively delete the oldest backup before creating a new one. See "Delete oldest backup before making a new one" in the settings.

Fixes

  • A bug causing an error when using generational backups and no backups are present (#447)
  • A bug causing the reported addon sizes in backups to be way too small.
  • A bug causing in-progress backup to always show up as "partial" (#437)
  • Published sensors included ignored backups in heir dates (#431)
  • Numerous spelling errors.

Dev/Cleanup

  • Configured a devcontainer for code contributions.
  • Moved generating Google's refresh tokens to a new domain, https://token1.habackup.io.

v0.104.1

22 Apr 00:08
Compare
Choose a tag to compare

Overview

This is probably the biggest update to the addon so far. Here are the highlights:

  • The UI has been completely rewritten by @ericmatte to be more clean, space efficient, and visially streamlined. Thanks a ton for the contribution!
  • New options have been added to ignore snapshots the addon didn't create and snapshots created form the supervisor's new "snapshot on upgrade" feature. If you turn it on, snapshots already backed up to Google Drive won't be "ignored" until you delete the snapshot in Google Drive but it will apply to all future snapshots it sees.
  • A bunch of unused options were removed form the addon's configuration to make it work correctly with the supervisor's new visual addon configuration editor. Its still reommended to change addon settings from thin the addon's web-UI because this addon has a lot of configuration options!
  • A bunch of quality-of-life improvements were made to how the andle handles flaky connections to Google Drive.

New Stuff Details

  • Thanks to tremendous effort by @ericmatte, the interface has been completely restyled.
  • Added the option "ignore_other_snapshots" which will make the addon ignore any snapshot it didn't create.
  • Added the option "ignore_upgrade_snapshots" which makes the addon ignore snapshots containing a single folder or addon, such as those created automatically during HA/addon upgrades.
  • Added the option "delete_after_uploaded" which deletes snapshots in Home Assistant immediately after they're uploaded.
  • Added a display for the space available in Google Drive.
  • Added visual indication of which snapshots are being stored for what when using generational backups.
  • Auth structure changes now allow the "Content Manager" role to be used on folders in Shared Drives.
  • The addon now waits a few minutes before creating snapshots on startup to avoid resource contention issues when Home Assistant is booting up.
  • Improved the handling of upload retrys on flaky connections.
  • The web-UI now shows upload speed, progress, duration, etc when uploading to Google Drive.
  • Removed a number of debugging options from the addon configuration, now that they're visible within the new addon config editor UI in Home Assistant.

Fixes

  • Updated the custom auth guide to reflect Google's new authentication workflow.

Technical/Cleanup

  • Automated the deployment of addon's "dev" branch to a staging instances.
  • Unit tests now run automatically as GitHub actions.
  • CSS styling in the web-ui is now mostly uniform.