Cloning a cerbo GX installation

Does anyone know how to make a custom cerbo GX image? I am trying to make a bootable sd card image of my current set up so I don’t have to constantly re-download all my files I tried a bunch of different options of dd commands I ended on the command below but when I use etcher to make a bootable image the gx blocks it from updating I know its possible to do. I just can’t find the right configuration to do it so the GX accepts it.

dd if=/dev/mmcblk1 | zip > /run/media/mmcblk0p1/test.img.zip

Keep in mind that many settings are based on serial numbers of the connected device or other means to identify a specific instance of a device, so cloning a setup may not be as productive as you expect.

That said, most all the persistent storage is in /data/conf and the settings are in /data/conf/settings.xml

With care, you MAY be able to migrate these settings but would need to stop processes that use this persistent storage to eliminate conflicts.

For example:

make a copy of /data/conf/settings.xml to removable media and move this media to the new GX device

On the new GX:

stop the local settings service: vc -d /service/localsettings

update /data/conf/settings.xml with your backup copy

reboot

DISCLAIMER: I don’t guarantee success with this procedure. USE AT YOUR OWN RISK !!!

Part of my SetupHelper package is a mechanism to backup and restore SOME persistent settings but it’s far from extensive and omits anything that might have id-specific paths. It’s also fairly old and has not been updated with newer settings used for the new UI and other recent changes.

Victron is working on a mechanism to do what you want but has not had complete success yet. it’s a complex nut to crack.

That’s not what I’m looking for I’m trying to make an image same as the ones Index of /feeds/venus/release/images/einstein i’m trying to make the cloning process simple for production teams. this is as simple as it gets where you plug it in and power cycle.