Files
pxe-server/playbook/shopfloor-setup/gea-shopfloor-waxtrace/scripts/bay-config.csv
cproudlock d0dcce5427 Wax/Trace: auto-restore captured backup ZIP during imaging
Wires the three pieces that make the per-bay backup restore happen as
part of the PXE imaging pass, no manual post-imaging step required:

1. sync-waxtrace.sh: stage per-asset backup ZIPs from
   /home/camp/pxe-images/wt/<asset>/formtracepak_backup_*.zip (newest)
   into installers-post/waxtrace/backups/<asset>.zip on the PXE share.
   Also pushes scripts/Install-FormtracepakSettings.ps1 alongside the
   bootstrap bundle so 09-Setup can call it post-vendor-install.
2. startnet.cmd: after the FTPak ISO cherry-pick, xcopy
   Y:\installers-post\waxtrace\backups\%MACHINENUM%.zip to
   W:\WaxTrace-Install\backup\%MACHINENUM%.zip. Logs INFO if no per-asset
   ZIP exists - 09-Setup will then skip the restore step.
3. 09-Setup-WaxAndTrace.ps1 Step 3b: between cal ISO and OpenText
   auto-start steps, look for C:\WaxTrace-Install\backup\<asset>.zip
   and invoke Install-FormtracepakSettings.ps1 -BackupPath ...
   -RestoreData -RestoreConfig -Force. Registry restore is intentionally
   omitted - captured HKLM is overwritten by the vendor MSI install in
   Step 2 anyway, and captured HKEY_USERS would land at the source
   bay's SID (which doesn't exist on the freshly imaged bay).

bay-config.csv refresh: 17 captured bays with full version/model/
user_id/hw_sn/hw_id/host. Versions stick to the original bay-config.csv
target values where the live binary drifted to a release we don't have
an ISO for (e.g. WJRP2035 live 5.7.0.82 -> imaging targets 6.0).
WJF00450 flagged MISSING_DATA in user_id + hw_id columns so the
imaging path aborts cleanly until the dongle is read.

Smoke tested on win11 VM with WJF00545's real capture: staged the
expected bay-side layout (C:\WaxTrace-Install\Install-FormtracepakSettings.ps1
+ C:\WaxTrace-Install\backup\WJF00545.zip), invoked the resolve +
call path from a simulated Step 3b - 17 files restored cleanly, 0
errors.
2026-05-24 12:55:37 -04:00

1.8 KiB

1asset_tagftpak_versionmodeluser_idhw_snhw_idhostnotes
2WJF000526.103CV-4500327031499810003220400039188G2ZTNCX3ESFbay-config was AVANT - corrected to CV-4500 per device-map
3WJF000836.103AVANT293450698710006220600039341GDMT28Y3ESF
4WJF000846.103AVANT147621285710004220500039348G2GY4SY3ESF
5WJF001596.103AVANT397483971210007221000040145G5PRTW04ESF
6WJF001976.104AVANT119161260530002240400041459GHNWYRT3ESF
7WJF004506.204AVANTMISSING_DATA400052411MISSING_DATAG8KRCPZ3ESFDO NOT MIGRATE - user_id + hw_id need dongle read
8WJF004616.213AVANT387877736240001250400044757G2PMG3D4ESFnew bay (was misattributed to WJF00545 in old CSV)
9WJF005456.213AVANT326845955950002251200045652G6MJG3D4ESFuser_id refreshed 2026-05-24 (was 3878777362)
10WJRP04236.0CV-3100366934091772010400025834GGDBWRT3ESFold bay - device-map name 'NewCVSV' is Mitutoyo internal for CV-3100
11WJRP20356.0CV-450022928224712000114060008232G6W7JK44ESFlive binary is 5.7.0.82 - migrating to original 6.0 target
12WJRP23356.0CV-4500178091668880001151000011911G4B48FZ3ESFlive binary is 5.7.0.82 - migrating to original 6.0 target
13WJRP23476.0CV-4500358517294680002151000011674GDR6B8B3ESFlive binary is 5.7.0.82 - migrating to original 6.0 target
14WJRP26596.0CV-4500270905450300002160800015700G33N20R3ESFlive binary is 5.7.0.82 - migrating to original 6.0 target
15WJRP26606.0CV-450023659862100001160700015588GGGMF1V3ESFlive binary is 5.7.0.92 - migrating to original 6.0 target
16WJRP36385.602CV-4500072077821040003180800024395GFDBWRT3ESF
17WJRP36895.510CV-45003744284509400021807f00024390G4HCKF33ESFlive binary is 5.6.0.40 (release 5.602) - migrating to original 5.510 target
18WJRP48026.002AVANT092086693510006210800034683G5W7R704ESFlive binary is 5.7.0.92 - migrating to original 6.002 target