UDC's per-bay archive directory is C:\ProgramData\UDC\ArchivedData, not ArchiveData. The previous spelling was a typo introduced when the scripts were first written; it would have meant Backup-UDCData.ps1 found no archive content (silent zero-file backups), and Restore-UDCData.ps1 wrote into a location UDC does not read from. Path swap is straight string replacement across both scripts plus the .bat wrapper's usage comment. Manifest field names in backup.manifest.json / restore.manifest.json (ArchivedDataPresent, ArchivedDataFiles, ArchivedDataBytes) updated to match. Update-MachineNumber.ps1's parallel UDC-restore branch (still uncommitted in a prior workstream) has the same fix in the working tree, captured in that branch's eventual commit. The v2 share-staged copy at tsgwp00525-v2\standard-machine\scripts\ Restore-UDCData.ps1 also got the fix and is ready for push. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
8.5 KiB
8.5 KiB