Reconcile files in S3-compatible storage with Nextcloud database

I am running a Nextcloud instance that utilized DigitalOcean spaces as the primary storage backend. At one point, I was facing issues with a particularly large file not uploading properly (turned out I didn’t have enough disk space). I wasn’t keeping an extremely close eye on the DO space utilization like I should have been but it’s now using over 112 GB of space for less than 40 GB of files.

I’m trying to figure out how to analyze what files are in the DO space vs what Nextcloud is aware of. What’s the a good way to do this?

Nextcloud version: 20.0.9
Operating system and version: Ubuntu 20.04
Apache or nginx version: 2.4.46
PHP version: 7.4.15