Previously this repo was containing a script that would do a backup & restore of the Ubuntu box. It's possible to see the old version here.
The new version just relies on autoinstall.yaml (see Autoinstall configuration reference manual).
Follow the guide, then run:
./scripts/validate-autoinstall-user-data.py configurations/xxx/autoinstall.yaml