Restore from backup fails due to S3 migration

The Uploads to S3 was disabled during the restore. It still failed.