I recently migrated from a Debian VM with HA running to HAOS. Backup/ restore went smoothless!
Now I am looking for a way to configure my backup in HA OS (before I used /etc/crontab on Debian).
I already was able to configure an external backup target to store my backups on a NAS share and configure HAOS to use this as primary target.
Now I am looking for a way to configure the starting time for the backup as well as the number of “to-keep”.
Currently I only have a single backup with start around 19:00 daily. No good. I prefer as starting time somewhere in the night (ie 3:00) and please keep 7 old backups.
I have not found a place where to configure. And no, the current backup is not based on an automation. It must be configured somewhere else… where?
Hi,
I simply created an automation that triggers at a specified time and calls the service hassio.backup_full
Works perfectly for me and you can also specify the location and other settings.
My NAS will download the backup files fom HA and runs a clean-up job to delete old Backups from HA directly.
You can propanly also create a shell command and execute it with an automation to do the clean-up.
Br
Could it be that it is an automation which does not show in the GUI?
Have you had a look into the automations.yaml file if there shows something up which could be your current backup?
Propably something in the configuration.yaml?
I have never heard about a default backup job in HA so far.
I have been using the Samba backup add-on as well. It is great. However, my NAS does fill up sometimes, not from Samba backups. Unfortunately, in this case, the add-on does not report an alert when the backup fails. It may be possible to report it through an automation.
Also, now that HAOS supports SMB natively, there is less reason to use this add-on. It is mainly for scheduling purposes, and automatic cleanup.
To mitigate this I created a cron job on my NAS which removes old backups.
For your case this is not helpful, indeed. However- I suggest to create a seperate disk space for your HA backups so this is not getting filled up by other NAS users.