Monthly backup schedule

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

blueprint:
  name: Backup
  description: Monthly backup schedule
  domain: automation
  
  input:
    timeofday_entity:
      default: 01:00:00
      name: Time
      selector:
        time:
    dayofmonth_entity:
      name: Day of month
      default: 1
      selector:
        number:
          max: 31
          min: 1

variables:
  backup_filename: "Automated-Full-Backup-{{ now().strftime('%F') }}"
  dayofmonth: !input dayofmonth_entity

trigger:
  platform: time
  at: !input timeofday_entity

condition:
  condition: template
  value_template: "{ now().day == dayofmonth }"

action:
  service: hassio.backup_full
  data:
    name: "{{ backup_filename }}"

mode: single
2 Likes

Hello,

I plugged this in. What if I want to control where I want the backup to go? or is there no option for that and I should use another service to scrape the backups and put on another device on the network?

1 Like