This all depends on how you are running Z2M now and on what config you want to transfer it to.
I want to move the zigbee2mqtt addon backup to zigbee2mqtt LXC
FYI: have you bumped on the Proxmox helper scripts from @tteck, there is a script to install Z2M so I would already use that.
But, the zigbee2mqtt webUI does not provide a way to restore a backup, only to create one.
Iβm running Z2M in a LXC but I have no idea what the add-on backup contains as info and if/how this can be used to migrate.
This thread contains some useful information, did you go through it?
Z2M works well in LXC, but I canβt figure out how to transfer the backup to LXC.
The config is stored in your coordinator.
Can you post a tutorial?
i migrated from homeassistant addon to lxc container:
- first setup lxc container with the helper script (i used alpine)
- installed ssh
2.2 βapk add openssh
β
2.3 started ssh βrc-service sshd start
β
2.4 changed root password to login βpasswdβ
2.5 βvi /etc/ssh/sshd_config
β uncomment permitrootlogin yes - SCP everything from the backup of the frontend into /etc/zigbee2mqtt folder
3.1 on windows type into powershellscp "C:\Users\****\Downloads\z2m-backup.1.40.2.2024-10-15-23-47-12\configuration.yaml" [email protected].**.***:/etc/zigbee2mqtt
3.2 do this on all files nano /etc/zigbee2mqtt/configuration.yaml
change the configuration to adapt the new serial location and change your mqtt ip adress- rename
mv coordinator_backup.json coordinator_backup.json.old
rc-update add zigbee2mqtt default
rc-service zigbee2mqtt restart
After that, my Zigbee2MQTT continued from where it left off in the Home Assistant add-on.