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

backup: describe how to restore #31715

Merged
merged 3 commits into from
Mar 4, 2024
Merged

Conversation

koying
Copy link
Contributor

@koying koying commented Mar 3, 2024

Proposed change

Clarify how to restore a backup made in Container or Core

Type of change

  • Spelling, grammar or other readability improvements (current branch).
  • Adjusted missing or incorrect information in the current documentation (current branch).
  • Added documentation for a new integration I'm adding to Home Assistant (next branch).
  • Added documentation for a new feature I'm adding to Home Assistant (next branch).
  • Removed stale or deprecated documentation.

Additional information

  • Link to parent pull request in the codebase:
  • Link to parent pull request in the Brands repository:
  • This PR fixes or closes issue: fixes #

Checklist

  • This PR uses the correct branch, based on one of the following:
    • I made a change to the existing documentation and used the current branch.
    • I made a change that is related to an upcoming version of Home Assistant and used the next branch.
  • The documentation follows the Home Assistant documentation standards.

@koying koying requested a review from a team as a code owner March 3, 2024 12:28
@home-assistant home-assistant bot added the current This PR goes into the current branch label Mar 3, 2024
Copy link

netlify bot commented Mar 3, 2024

Deploy Preview for home-assistant-docs ready!

Name Link
🔨 Latest commit af6ee95
🔍 Latest deploy log https://app.netlify.com/sites/home-assistant-docs/deploys/65e58c986f118100080ceb0c
😎 Deploy Preview https://deploy-preview-31715--home-assistant-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

source/_integrations/backup.markdown Outdated Show resolved Hide resolved
source/_integrations/backup.markdown Outdated Show resolved Hide resolved
source/_integrations/backup.markdown Outdated Show resolved Hide resolved
Copy link
Contributor

@c0ffeeca7 c0ffeeca7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @koying 👍

@c0ffeeca7 c0ffeeca7 merged commit 476533a into home-assistant:current Mar 4, 2024
6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 5, 2024
For Container and Core installations, there is currently no built-in way to restore a backup. However, a Home Assistant backup is just a tar file of the `/config` directory, plus some metadata. To manually restore a backup, you can use the following:

```shell
$ tar -xOf <backup_tar_file> "./homeassistant.tar.gz" | tar --strip-components=1 -zxf - -C <restore_directory>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why our CI passes here, but the leading $ should not have been added and must be removed.

Can you open up a PR to correct this?

../Frenck

Copy link
Contributor

@c0ffeeca7 c0ffeeca7 Mar 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, will do! Thank you for the catch!
#31748

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
current This PR goes into the current branch
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants