Skip to content
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

Restoring a backup from a fresh instance fails #134458

Closed
pantherale0 opened this issue Jan 2, 2025 · 1 comment · Fixed by #134506
Closed

Restoring a backup from a fresh instance fails #134458

pantherale0 opened this issue Jan 2, 2025 · 1 comment · Fixed by #134506

Comments

@pantherale0
Copy link

pantherale0 commented Jan 2, 2025

The problem

When attempting to upload and restore a backup of a brand new instance of Home Assistant (without the backups directory) the uploader fails with a 500 status code.

No entries are seen in HA logs, however you can see the following in the HTTP request response:

Can't write backup file: [Errno 2] No such file or directory: '/workspaces/ha-googledrive-backup/config/backups/71cc4d50.tar'

As soon as the backups folder is manually created under /config the upload is successful and the rest of the upload flow resumes.

What version of Home Assistant Core has the issue?

core-2025.5.0b5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

backup

Link to integration documentation on our website

No response

Diagnostics information

N/A

Example YAML snippet

N/A

Anything in the logs that might be useful for us?

Can't write backup file: [Errno 2] No such file or directory: '/workspaces/ha-googledrive-backup/config/backups/71cc4d50.tar'

Additional information

No response

@mib1185 mib1185 added this to the 2025.1.0 milestone Jan 2, 2025
@home-assistant
Copy link

home-assistant bot commented Jan 2, 2025

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (backup) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of backup can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign backup Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


backup documentation
backup source
(message by IssueLinks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants