Open jamesgeddes opened 6 months ago
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.
@Alex-joomla
I'm not sure if it's really a bug
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 name
field should set a file name, which it does not. From that perspective, it is not working as an ordinary and reasonable person would expect, so it should be a bug. Either way, I am happy to be assigned to it so whether it is a feature or a bug makes no difference to me.
@kinghat
a good first step would be to have the filenames match the frontend
If I have understood you correctly, that is what I am proposing here. The name
field should set the name of the file. I am told that it sets the name of the backup, but I have not seen any reference to it elsewhere in the UI. It would also be good to be able to set use placeholders to substitute values in, including but not limited to dates, times, site name etc.
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 make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
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. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
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 make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
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?
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. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
still want
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.