New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backup name default not working #94336
Comments
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) backup documentation |
Sorry if this is pointed to the wrong integration I think I missed that it is the build in functionality in supervisor? |
Hey there @home-assistant/supervisor, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) hassio documentation |
I am having the same issue, the default backup name is random hex |
The default is blank |
Sorry, I meant if I leave the name as blank (default) , the backup name is generated a randem hex, not current date and time |
No, see the first post, the name is |
Yes, Ok, but rhe result is still random hex, not current date and time |
Again, no. |
No, i am referiing to the name in the supervisor. With name: "", you get random hex generated. |
In the UI? in the API? in the json file as shown in the initial post? |
In system - backups in the ui |
Yeah but in the doc of hassio there is declared that if the name is blank hassio uses date and time. That the slug is represented on empty name is not the problem. The problem is either that the doc is wrong, so the hassio integration is not generating any default name, or that the issue is that the hassio integration is not generating the name with date and time if none provided. Take a look at the screenshot where it clearly stands that the default is date and time. This hint is provided by the integration. |
Right, so the name is "". |
The service call docs need to de changed then. It currently indicates that a blank name will result in a date and time name |
Correct (which is why this issue is still open) |
The problem
According to the inbuild documentation. Leaving the backup name empty should result in the default "current date and time".
In the Backup Overview the Backup displays as cryptic "536b9622" not with the defaulted name. Not distracted by that... I downloaded the Backup and looked at its backup.json and it also does not have any name:
{ "version": 2, "slug": "536b9622", "name": "", "date": "2023-06-09T09:28:24.693196+00:00", "type": "full", "supervisor_version": "2023.06.1", "... hint ..." : "... removed several attributes for smaller issue overview...", "compressed": true, "crypto": "aes128" }
What version of Home Assistant Core has the issue?
core-2023.6.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Backup
Link to integration documentation on our website
https://www.home-assistant.io/integrations/backup/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: