How to decrypt a backup in linux?

tar -xvf backup.tar
./backup.json
homeassistant.tar.gz

then how do I decrypt homeassistant.tar.gz?


tar -xvzf homeassistant.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

I then tried with password:


openssl enc -d -aes-256-cbc -in homeassistant.tar.gz -out homeassistant.tar -k "password_here"
bad magic number

Unless something has changed since the original release, that should be AES-128, not AES-256

I still get bad magic number unfortunately