-
Notifications
You must be signed in to change notification settings - Fork 651
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
User configurable backup filename #4947
Comments
This would be so great, if it gets fixed, but I'm not sure if it's really a bug :-/ |
configurable backup filenames would be awesome but a good first step would be to have the filenames match the frontend. if i want to pull the backups i have no idea what they are other than their date. |
I appreciate that this is perhaps in the grey area between feature request and a bug. If one were to view it strictly from the perspective of the original feature specification to create backups, then if it is working as intended, then this would indeed be a feature request. If, however, we were to take user expectations into account, most users would expect that a
If I have understood you correctly, that is what I am proposing here. The |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Still not "working" for me :) |
Just because an issue is old does not mean that it is not important. Stalebot is a bad idea. I have been waiting to be assigned to this so that I can fix it - or can I just crack on with it? |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
I'm still interested in being able to set backup names. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
please crack on with it 😅 |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
still want |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Still want this |
Stale bot is annoying... I'll get to this asap. |
+1 for this feature/bug correction |
I came here, because I was trying to find a way to set the default backup name to something useful and was quite astonished that isn't possible. At least when downloading the backup file through the UI it gets the backup's name, but it being different in HA's filesystem is definitely more on the "bug" than the "feature request" side in my opinion. |
Also came in here looking for a solution for a native way to have the actual filename customized (or at least matching the UI one as stated previously). |
ISO 8601 FTW! Yes, when I get around to doing this (unless someone gets to it first!) I will include a timestamp option that provides an ISO8601 datetime. Then again, wouldn't the world be a much easier place if everybody could simply work in unix time 😂 while we are at it. let's also convert to decimal time! |
The problem
The backup service currently provides the user with the option to configure a
name
.Counterintuitively, this does not set the filename. Even when the
name
is set, the backup file is seemingly given a random string as a filename, such as,969fad88.tar
a1467f82.tar
70344a3d.tar
I assume it is random because it seems unlikely that these are hex dates;
According to community members, it is not currently possible to set the file name. This limitation poses several challenges for users who rely on backup management systems or external services for storage and versioning.
Use cases
Proposed Solution
Allow users to customize backup filenames according to their preferences.
What version of Home Assistant Core has the issue?
core-2024.2.5
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
Home Assistant Supervisor: Create a full backup.
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
For context, my own daily backup process is as follows.
With every backup getting a unique filename, it is not possible to use the AWS S3 built-in versioning capabilities. I will instead have to write a script that deletes the old backups from the NAS.
If I was able to set a consistent filename, new backups would overwrite the previous backup, which would ensure that
I will gladly take this ticket if someone is able to,
First reported by Tankegroda on 2020-04-03 in forum thread Snapshot naming + Filename. Issue persists. I could not find a ticket here so apologies in advance if this is a duplicate.
The text was updated successfully, but these errors were encountered: