jchh
((not John))
January 8, 2025, 10:14am
1
Does anyone know of a MacOS app that will unzip an HA encrypted backup?
tl;dr
I use HA container and nearly everything that can be defined in yaml, is.
If I made a mistake I used to simply extract the offending .yaml file from a copy on my Mac and copy it back to my Pi.
Now that backups are encrypted, I can’t do that (with the stock Mac archive app).
WallyR
(Wally)
January 8, 2025, 10:20am
2
I guess HA still use tar and zip to make backups.
This is two standard Linux commands and since MacOS is built on a Linux code bade, then I would guess these commands are also available in MacOS.
You might have to start the terminal to access them though, but try that and then tupebtar and hit enter and also zip or unzip and hit enter.
jchh
((not John))
January 8, 2025, 10:39am
3
I can unzip the .tar
into its .json
and .tar.gz
files.
However the .tar.gz
file is reported as an “Unrecognised archive format”.
jchh
((not John))
January 8, 2025, 10:50am
4
also, how does one restore? I cannot see any documentation on it.
makai
January 8, 2025, 10:52am
5
1 Like
makai
January 8, 2025, 10:55am
6
In HA click on the backup you want to restore, select what to restore and click “Restore”
WallyR
(Wally)
January 8, 2025, 11:02am
7
Try to type gzip instead of just zip.
jchh
((not John))
January 8, 2025, 11:07am
8
I cannot see a restore option (only download and delete).
jchh
((not John))
January 8, 2025, 11:09am
9
same problem:
HA Core 2025.1.0/homeassistant.tar.gz: not in gzip format
jchh
((not John))
January 8, 2025, 11:10am
10
My workaround is to continue to use the - action: backup.create
in an automation which is still unencrypted.
makai
January 8, 2025, 11:19am
11
Click on the name of the backup you want to restore in order to get details about this backup
1 Like
denwald
January 8, 2025, 11:53am
12
It seems we have three backup types now.
Automatic
Manual
Created by action/service call
Does anyone know if the three backup types are interchangeable? The new automatic backups are supposed to be more portable between the different types of installations per the announcement.
Can you restore all three backup types from the UI?
I would test this, but I don’t want to upgrade my instance yet.
juergenjw
(Jürgen W.)
January 8, 2025, 12:07pm
13
At least they have the same option for restore (settings and/or history).
Have not yet tried to do a restore.
PS: HA in docker container.
jchh
((not John))
January 8, 2025, 12:11pm
14
Thanks, but I did - see my screenshot. …no restore option.
juergenjw
(Jürgen W.)
January 8, 2025, 12:13pm
15
Click on the name of a backup.
1 Like
jchh
((not John))
January 8, 2025, 12:15pm
16
They are all interchangeable, but only the automatic and manual methods are encrypted and can be uploaded to Nabu Casa etc.
No clue how to restore the encrypted ones though as you appear to need HA to decrypt and my (container) instance appears to have no option to do it.
jchh
((not John))
January 8, 2025, 12:19pm
18
got it! thanks! …I was clicking on the burger at the RHS of the backup (which to me is the logical place to have it).
so, clicking on the filename seems to show a restore option for all 3 types (auto, manual, service call).
edit: I’ve created a feature request here for either the ability to decrypt outside of HA or to choose the restore location.
1 Like
Sir_Goodenough
((SG) WhatAreWeFixing.Today)
January 9, 2025, 3:39am
19
This is a community guide where we are collecting alternatives to the HA Automated backups if people want to use them.
There have been a lot of questions on how to do a backup if you want to run it manually, not using the awesome automatic tools.
This is a bunch of ways to back-up your system and not use the new 2025.1 introduced automatic stuff.
Choices are good to have. Make sure you are making the right choice.
Now while I do like the new method and do suggest using encryption, the options are still available to not use encryption and to use a different method.
Here are some options. Some were in the HA D…
1 Like