Partial Backup Service Call not working, trying to build automation for partial backup (don't need to backup media folder)

Trying to build an automation for a partial backup but when I use the service call page and fill the example the service call doesn’t do anything, here’s what I’ve got:

service: hassio.backup_partial
data:
  folders: homeassistant,share,addons,config,ssl
  name: Partial backup test

Is there anything in the log? If you’re running hassos like me, there is no “/homeassistant” or “/addons” folders. These would instead be separate tag to backup homeassistant and/or backup specific named addons. This is more obvious in the UI mode.

Try like this, does this work?

  - service: hassio.backup_partial
    data:
      addons:
        - core_configurator
        - core_samba
        - core_mosquitto
        - a0d7b954_adguard
        - core_mariadb
        - core_zwave_js
        - ccab4aaf_frigate
        - a0d7b954_ssh
      folders:
        - homeassistant
        - share
        - ssl
      name: Auto Partial Backup

I’m running on a NUC so I think it’s Hassos? This is what shows on the about page:

Home Assistant 2023.5.4
Supervisor 2023.06.2
Operating System 10.2
Frontend 20230503.3 - latest

I just trying calling the service in UI mode and only listed two folders to test it out but still nothing is happening:

What’s really strange is nothing shows in the logs at all unless I’m looking in the wrong spot?

I can try that, but I’m not sure how to find out the right naming scheme of all of my addons? Inside my system there’s an addons folder but it’s empty but I have the following addons installed:

Also when I fill the service call page with example data it shows like this:

service: hassio.backup_partial
data:
  addons: core_ssh,core_samba,core_mosquitto
  folders: homeassistant,share
  name: Partial backup 1
  password: password

here’s a pic of UI mode of the above example data:

All I’m trying to do is build an automation that does this (backup everything except for the media folder, that way my backups won’t be so dang large)

This is what works for me:

Make a partial backup via the Ui backup screen including only the things you want, let it backup then view the resulting file in any decent zip software and look at the names of each item and you will see :+1:t2:

I had the same issue when trying to create an automation for a daily backup, configured like this

So i figured I’d need the following code:

alias: "Auto: Backup daily"
description: ""
trigger:
  - platform: time
    at: "04:00:00"
condition: []
action:
  - service: hassio.backup_partial
    data:
      compressed: true
      homeassistant: true
      addons:
        - a0d7b954_ssh
        - core_duckdns
        - 5c53de3b_esphome
        - core_configurator
        - a0d7b954_plex
        - core_samba
        - a0d7b954_vscode
        - a0d7b954_unifi
      folders:
        - Local add-ons
        - SSL
        - Shared
mode: single

The automation ran for 0.2 seconds and then finished without doing anything.
I narrowed down to problem to be the “folders” section, once I removed everything there the backup worked just fine.

Then I thought “maybe the automation can’t find the folders” and started searching for them - and didn’t find them!
Neither of them are available on my rasperry pi installation, which seems to be a problem for the automation.

for testing purposes I just used a different folder I could actually see with the file editor.
I chose the “share” folder, added it to my automation and the backup triggered as it should.

service: hassio.backup_partial
data:
  compressed: true
  homeassistant: true
  addons:
    - a0d7b954_ssh
    - core_duckdns
    - 5c53de3b_esphome
    - core_configurator
    - a0d7b954_plex
    - core_samba
    - a0d7b954_vscode
    - a0d7b954_unifi
  folders:
    - share

conclusion:
it seems like the service hassio.backup_partial has a problem if you want to backup folders that do not exist (though it somehow shows those folders when doing a manual backup and has no problems with that - kinda strange!)

hope this helps