How do I name the backup file?

That is unfortunate. I have upvoted the linked post. Would be great to be able to name the file so that it can be properly versioned in AWS S3.

Logged in core#112443

Please don’t open feature requests there. It is for issues (bugs) only.

I would argue that this is a bug, since it is not working as expected.

It is not a bug. It is working as it was programmed to. You want it to do something else?

That’s a feature request.

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 should not be dictating how people want to manage their files. All I am proposing is that we allow the user to specify a filename.

It is working in a way that a user did not expect. The name field does not set the filename. This is therefore a bug.

Others are also of the opinion that this is a bug.

That’s the user’s fault not the integration’s.

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.

As advised previously, vote here: Snapshot naming + Filename

Or, if you have the ability, submit a PR to implement the feature yourself.

It is not a feature request, it is a bug.

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.

Thought you did not want to discuss this?

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.

You continued to insist on discussing it :joy:

I’m very sorry you feel that way. I was merely explaining things as they are.

Got a link for this?

1 Like

There is a HACS implementation called Auto Backup. It allows to set a custom name of the generated archive. It allows variables (as every service). Backups are listed in the normal location. I posted same answer in another post as well, there are different phrased “snapshot” but also backup.

HCAS auto backup