hass-auto-backup

🗃️ Improved Backup Service for Home Assistant that can Automatically Remove Backups and Supports Generational Backup Schemes.

MIT License

Stars
341
Committers
14

Bot releases are hidden (Show)

hass-auto-backup - 1.3.2

Published by jcwillox over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/jcwillox/hass-auto-backup/compare/1.3.1...1.3.2

hass-auto-backup - 1.3.1

Published by jcwillox over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/jcwillox/hass-auto-backup/compare/1.3.0...1.3.1

hass-auto-backup - 1.3.0

Published by jcwillox about 2 years ago

⚡ Features

  • Experimental support for custom backup names on Home Assistant Core (198fa29)

Changes

  • docs: improve bug template (8a2d33b)
  • docs: document new features (33e2b9a)
  • docs: update bug template (cc4dcd8)
  • docs: add hacs badge (7534d1b)
  • docs: add bug report template (b8cecea)
  • test: add devcontainer (782b715)

Full Changelog: https://github.com/jcwillox/hass-auto-backup/compare/1.2.0...1.3.0

hass-auto-backup - 1.2.0

Published by jcwillox about 2 years ago

⚡ Features

  • Support matching wildcard slugs for include and exclude (f684b66) (closes #66)
  • Mimic internal backup naming scheme instead of showing 'Unknown' on Home Assistant Core (ba1668a)

Bug Fixes

  • Fix broken include/exclude behaviour (d6bfb42)
  • Relax config constraints for non-supervised installations (7dfa7aa) (fixes #65)
  • download_backup: fix permission error when copying to non-unix platforms (27e0d94) (fixes #64)

Full Changelog: https://github.com/jcwillox/hass-auto-backup/compare/1.1.1...1.2.0

hass-auto-backup - 1.1.1

Published by jcwillox over 2 years ago

  • Fix bug introduced in Supervisor 2022.07.0 (f757e46) (fixes #63, #62)

Full Changelog: https://github.com/jcwillox/hass-auto-backup/compare/1.1.0...1.1.1

hass-auto-backup - 1.1.0

Published by jcwillox over 2 years ago

⚡ Features

  • Support multiple download paths (e387b44) (closes #58)
  • Allow keep_days to be null (c46b266)
  • Created blueprint for notifying backup events, such as backup failure.
  • Created blueprint for automatically creating daily, weekly, monthly, etc., backups
    (see jcwillox/home-assistant-blueprints).

Changes

  • Drop deprecated X_HASSIO constant (0284561) (fixes #61)
  • Fix error caused when addon does not exist (c4b1787)
  • Update wording of exclude object description by @JacobMillward in https://github.com/jcwillox/hass-auto-backup/pull/57 (17fe702)
  • Fully drop YAML import (a9ac739)
  • Cleanup config flow (00744c2)
  • Update code to reflect internal changes (fd3ae05)

Full Changelog: https://github.com/jcwillox/hass-auto-backup/compare/1.0.1...1.1.0

hass-auto-backup - 1.0.1

Published by jcwillox over 2 years ago

  • Fix issue with after_dependencies not working with default_config (5e692f1) (fix #54)
hass-auto-backup - 1.0.0

Published by jcwillox over 2 years ago

The first 'official' production release of Auto Backup. This release drops the long deprecated YAML support, and adds support for the new backup integration included with Home Assistant Core, this means the Supervisor is no longer required for Auto Backup to work, see the docs for more information and the limitations of not using the supervised version. Auto Backup now has a docs site (7af15ab) which is much more organised and better looking than the old README.

There is also now the auto_backup.backup service, this is effectively a combination of the backup_partial and backup_full services, but it is better optimsed for use from the UI, and is semantically more correct. As calling auto_backup.backup_full with exclusions actually creates a partial backup not a full backup. The other methods aren't going anywhere but auto_backup.backup is now the main or 'ideal' service to use.

🚨 Breaking Changes

  • Drop YAML import ability (2386cbd) (f142ec7)
    • This shouldn't actually affect anyone, as YAML configs would have already been imported to the UI.

⚡ Features

  • Add auto_backup.backup service (docs) (8f82e0d)
  • Allow using addons and config as folder names (7258380)
  • Implement new selectors (2d75921)
  • Add support for the builtin backup integration (docs) (fac7776) (closes #53, #52, #22)

Changes

  • Better handling of simultaneous include and exclude (22edeef)
  • Simplify supervisor headers (9a0be05)
  • Add issue_tracker to manifest (53d7991)
  • Update workflows and add hacs action (0dcd42b)
  • Cleanup code (9305f9a)

Full Changelog: https://github.com/jcwillox/hass-auto-backup/compare/0.10.1...1.0.0

hass-auto-backup - 0.10.1

Published by jcwillox almost 3 years ago

🚨 Breaking Changes

  • Support for services/events/attributes that used the word snapshot has been removed (c221bfc). These were deprecated in 0.9.0 and renamed to use the word backup instead.

Changes

  • Add release workflow (7ec9350)
  • Refactor sensor attributes (178606c)
  • Use http.HTTPStatus instead of const.HTTP_* (f10fa93) (fixes #46)
hass-auto-backup - 0.9.2

Published by jcwillox about 3 years ago

This release is for the upcoming Home Assistant version 2021.9, in which all references to snapshot are being renamed to backup, Auto Backup will follow this convention. This release doesn't contain any new features and is focused on renaming snapshot -> backup, and ensuring compatibility with the new release of HA.

Auto Backup will now require HA 2021.9 or newer to run.

🚨 Breaking Changes

Immediate breaking changes

  • Sensor attributes renamed
    • monitored_snapshots -> monitored_backups
    • purgeable_snapshots -> purgeable_backups

Deprecated and will be removed with HA 2021.11

Warnings will be printed in your logs if you are still using any of these deprecated names.

  • Services renamed
    • auto_backup.snapshot_full -> auto_backup.backup_full
    • auto_backup.snapshot_partial -> auto_backup.backup_partial
  • Events renamed
    • auto_backup.snapshot_start -> auto_backup.backup_start
    • auto_backup.snapshot_successful -> auto_backup.backup_successful
    • auto_backup.snapshot_failed -> auto_backup.backup_failed
    • auto_backup.purged_snapshots -> auto_backup.purged_backups
      • the event data was also renamed "snapshots": ["SLUG"]} -> "backups": ["SLUG"]}
  • Service option renamed
    • backup_path to download_path as this makes it much clearer what it actually does (b359263)

Other Changes

  • Drop timezone support for HA <2021.6 (1593e57)
  • Pin minimum HA version in hacs.json (2cb9a2d)
  • Migrate API methods from snapshot -> backup (0c2cd58)
  • Rename snapshot -> backup (5cedcdd)
  • Fix minimum version in hacs.json (029ef28)
  • Fix error when excluding only addons or folders (0b0cab4) (fixes #43)
hass-auto-backup - 0.8.1

Published by jcwillox about 3 years ago

  • Fix error when excluding only addons or folders (f71a5cf) (fixes #43)
hass-auto-backup - 0.8.0

Published by jcwillox about 3 years ago

This release contains mostly code quality changes, the codebase has been refactored and greatly cleaned up, which is something I've been meaning to do for a while. This is also going to be the last release targeting Home Assistant versions before 2021.9, i.e. future releases will require at least HA 2021.9, this is due to changes to the Supervisor API.

I was also bothered enough to create some tests, they are really just a couple of HA scripts, but still, it makes it a lot easier to test if everything is still working correctly without having to manually type out and run a bunch of different service calls, not sure why I didn't do it sooner.

Notable changes

  • Service calls are now able to wait for a snapshot to complete (439af09)
    • HA will wait up to 10 seconds for service calls to complete before moving them to the background
  • Add media to default snapshot folders (3cca3dc)
    • This fixes the media folder not being included when using the exclude option

Other changes

  • Refactor supervisor API client into separate module (fc1af89)
  • Major refactoring of the create snapshot method (208d608)
  • Refactor the purge snapshot method (d54a928)
  • Only stop tracking a snapshot if it no longer exists (c0ba43d)
  • Use lists for simplicity when ensuring slugs (51dcf5d)
  • Refactor service schemas (b2a913f)
  • Rename snapshots and store (c158ddf)
hass-auto-backup - 0.7.3

Published by jcwillox about 3 years ago

  • Fix for HA 2021.8 (003e43b) (fixes #37)
hass-auto-backup - 0.7.2

Published by jcwillox over 3 years ago

  • Fix timezone for HA 2021.6 (aa53cd2) (closes #35)
hass-auto-backup - 0.7.1

Published by jcwillox over 3 years ago

  • Add iot_class to manifest (180158b)
hass-auto-backup - 0.7.0

Published by jcwillox over 3 years ago

I've finally conquered Home Assistant's config flows and Auto Backup can now be set up via the UI. The YAML configuration method is now deprecated and your current config will be migrated to a UI configuration entry. This means that after updating and restarting Home Assistant you can remove the auto_backup entry from your configuration.yaml.

I've also added support for the fancy service schema's introduced in Home Assistant 2021.3.0.

Changes

  • Add config flow (38e5b5e)
  • Use new services schema (538d382)
  • Add version to manifest (d0a69a9)
hass-auto-backup - 0.6.0

Published by jcwillox about 4 years ago

  • Switch sensor to use events. (9a0d1df) (possibly fix #19)
  • Refactoring, add snapshot_start event. (2f6f4ba)
  • Refactor events. (2d7bc57)
  • Fix bug in error reporting. (ab7ed1a)
hass-auto-backup - 0.5.2

Published by jcwillox over 4 years ago

  • Use chunked downloading of backups when using the backup_path parameter (fixes #17).
hass-auto-backup - 0.5.1

Published by jcwillox over 4 years ago

  • Fix slow setup.
hass-auto-backup - 0.5.0

Published by jcwillox over 4 years ago

Features

  • Adds a unique_id to Auto Backup sensor, the sensor can now be edited from the UI.

Fixes

  • Remove dependency on the hassio component (fixes #10), now compatible with 0.107.0.
  • Improve logging.
  • Snapshot passwords are automatically removed from the debug logs.