Create backups and store them on a Samba share.
This add-on lets you automatically create Home Assistant backups and store them on a Samba share. This does work with Samba shares that require authentication by username/password or allow guest access.
- Navigate in your Home Assistant frontend to Settings -> Add-ons -> Add-on Store and add this URL as an additional repository:
https://github.com/thomasmauerer/hassio-addons
- Refresh your browser.
- Find the "Samba Backup" add-on and click the "INSTALL" button.
- Configure the add-on and click on "START".
The host
and the share
parameters are always required. If you do not specify any username and password, the Samba share has to be configured to allow guest access for this to work.
Example configuration:
host: 192.168.178.100
share: my-share
target_dir: backups/ha-backups
username: my-user
password: my-password
keep_local: 5
keep_remote: 10
trigger_time: 04:00
trigger_days:
- Mon
- Wed
- Fri
exclude_addons:
- core_mariadb
exclude_folders:
- media
backup_name: {type} Backup {date}
Note: This is just an example, don't copy and paste it! Create your own!
Please check the Documentation for a complete reference of all configuration options.
Any kind of help or useful input/feedback is appreciated! Please also check the forum thread of this add-on for infos and discussions.