I am backing up every night at 0100 to my NAS. At 0300, my NAS backs itself up to AWS S3. I want the backup file to be named the same each time so that it overwrites the previous one. This ensures that S3 can version the file properly.
As you can see, I have specified that the file should be called homeassistantbackup but it is appearing on the NAS as [random string].rar, for example, “969fad88.tar” and “a1467f82.tar”. What am I doing wrong?
Without getting into the merits of whether this is a bug, a feature request, or neither of those, isn’t overwriting the same backup generally a bad idea?
Imagine if you misconfigured something or an update went wrong somewhere and you didn’t realise immediately. IF the auto backup triggered by the time you realised, you’d have no way of reverting.
Isn’t there some kind of retention setting in either your nas or AWS, where you could configure it to only keep x number of backup files, or retain backups only for x number of days? That seems to be a much more sensible approach and your ass would be covered if something went wrong.
We are certainly getting off topic here. Who (ie what user) really cares whether it is a bug or a feature? That is about as important as tabs vs spaces. The point is that users should be able to set the filename of their files.
The developers do. If you open a feature request on github it will be closed and you will be redirected to the feature request category of the forums. Which was why I advised you not to do this.
There is an attribute called name which appears to do nothing. The “man on the Clapham omnibus” would expect this to set the filename. It does not.
As you can see,
I have already upvoted on the link you mentioned.
I have already submitted a ticket and am awaiting assignment. Do feel free to assign me to this ticket and I’ll crack on with it.
Just so you are aware, this is perhaps not the most tactful way to express this. I have only seen positive interactions on the HA forums thus far, so I would have thought that moderators would be leading that culture by example.