1. intro

database server -> srv002
old server -> srv014
new server -> srv004

2. step by step

on srv014

systemctl disable --now homeassistant.service

on srv004

systemctl stop homeassistant.service
rsync -ai --delete srv014:config/ config/
ha-mariadb -s srv202 -d hadb004

on srv002

time mariadb-dump -v -u root -pPassw0rd hadb014 | mariadb -u root -pPassw0rd hadb004
Tip it took 11 minutes

on srv004

systemctl start homeassistant.service

3. aftercares

ha-rsync -s kvm010 -p /backup/srv004/
inst-tailscale