Downsize storage on vCSA 6.5

I have been upgrading some vCenter Appliances 6.0 too 6.5 and in the process they had to be deployed with x-Large storage, But they don't need that. But this size was the only available during upgrade, because some disks was extended.

I could have forced the upgrade with other size choices with the CLI options and forced to use default or large disk sizes.

Another way is to use the build in backup/restore in the vCSA 6.5.

This solution is not supported, so please use at your own risk.

What I did was make a backup:

After this i shutdown the original vCenter.

The problem is now that if you do a restore, you will only get size choices that is larger then the original size.

So I did some investigation and found that it is sizing the restore form som information i a JSON file.

This is the HEAD of the JSON file, that i located in the backup directory. "backup-metadata.json"