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