Franck Nijhof a0b850b9fd
2025.4: Beta release notes (#38220)
* 2025.4: Beta release notes

* Update changelog
2025-03-26 18:48:14 +01:00

3.0 KiB

title description ha_category ha_release ha_quality_scale ha_domain ha_codeowners ha_iot_class ha_platforms ha_integration_type related
Backup Allow creating backups of container and core installations.
Other
Sensor
2022.4 internal backup
@home-assistant/core
Calculated
diagnostics
sensor
service
docs title
/common-tasks/general/#backups Backups
docs title
/common-tasks/general/#defining-backup-locations Backup locations
docs title
/getting-started/onboarding/ Recover from backup during onboarding
docs title
/more-info/backup-emergency-kit/ backup emergency kit

The Backup {% term integration %} is used by all installation types to create and restore backups.

To learn how to create and restore a backup, refer to the backup section under common tasks.

Actions

The Backup integration exposes actions that can be used to automate the backup process.

However, it is no longer needed to create your own automation. Follow these steps to set up an automatic backup from the UI.

Action backup.create_automatic

The {% my developer_call_service service="backup.create_automatic" %} action can be used to create a backup of your Home Assistant instance, using the same settings as those used by automatic backups.

This action can be called to create backups with pre-defined settings at a more flexible schedule than the schedule which can be configured for automatic backups.

The action has no additional options or parameters.

Example action:

action: backup.create_automatic

Action backup.create

The {% my developer_call_service service="backup.create" %} action can be used to create a backup of your Home Assistant instance. This action is only available in core and container installations. The action has no additional options or parameters. Example action:

action: backup.create

Example: Backing up every night at 3:00 AM

This is a YAML example for an automation that initiate a backup every night at 3 AM:

automation:
  - alias: "Backup Home Assistant every night at 3 AM"
    triggers:
      - trigger: time
        at: "03:00:00"
    actions:
      - alias: "Create backup now"
        action: backup.create

Restoring a backup

To restore a backup, follow the steps described in Restoring a backup.

Sensors

The Backup {% term integration %} provides several sensors.

Backup Manager State

The current state of the backup system. Possible states are:

  • Idle
  • Creating a backup
  • Receiving a backup
  • Restoring a backup

Next scheduled automatic backup

The timestamp of the next scheduled automatic backup.

Last successful automatic backup

The timestamp of the last successful automatic backup.