Connect the SD card to your PC.
You will need software capable of reading Linux partitions if using a Windwos PC. DiskInternals Linux Reader is available free.
Find the /config
folder on the SD card. There are posts about this on the froum, use the forum search function.
Copy everything in your /config
folder, including the hidden .storage
directory and files.
Paste this copied data into a new install. With the exception of config/home-assistant_v2.db
. Delete this. It never survives the transplant. You will lose your history data.
Restart Home Assistant.
Set up automated snapshots:
To a NAS: Samba Backup: Create and store snapshots on a Samba share
To Goggle Drive: Add-on: Home Assistant Google Drive Backup
To DropBox: Hass.io Add-on: Upload hassio snapshots to Dropbox
To NextCloud or S3: [New Addon] Snap-Shipper - Webdav and S3 backups (and probably other ways to later on)