Migration from legacy storage to hashed storage

Hello, I’m updating the community version of gitlab from 12.9.3 to 14.10, making an upgrade by step. The upgrade process was completed successfully but in the transition from version 13.x to version 14.x, since hashed storage is no longer supported, the migration script has updated the timestamp of all projects, setting the date relative to the run the storage migration script.

It would be possible to migrate from legacy to hashed storage while keeping the timestamps of the projects unchanged or there is (and someone has been able to test) a procedure that allows you to save the modification dates of the projects in advance in order to re-import them after the execution of the migration script.

I hope you can give me some guidance on how to proceed. Thanks