Hi Chris J,
Thank you for reaching out to Microsoft QA. We understand the restored files from the Backup Vault look corrupted.
In most cases, these files are not damaged but saved in a compressed or custom PostgreSQL format. That is why smaller files like schema or roles look fine, but large database files appear unreadable in editors.
Please try these steps:
- Download one of the affected files using Azure CLI or Storage Explorer (avoid browser download).
- Run this command to check the file type:
file <filename> - If it shows gzip compressed, run:
gunzip -c <filename> > restored.sqlIf it shows PostgreSQL custom dump, run:pg_restore -Fc <filename> -d <target_database>
If the file still looks unreadable, please share these details in private message
Backup Vault name and region, Restore Job ID and time (UTC), One affected file name, how the file was downloaded
We will check the backend logs to confirm whether this is related to compression or encoding during restore.
Kindly let us know if you have any questions or concerns.