How can I get the current version information from my backup?

Thank you for your suggestion. I’ve successfully backed up the latest data.
In addition, since the OS has already been reinstalled, how can I restore the latest state directly using the app.yml and backup files? Is there any official documentation for this? Or do I need to go through the standard Docker installation process first, and then import the backup to restore everything?

By the way, when I tried to find out which commit my Discourse backup corresponds to, I got the following output. Any idea why that might be?

/var/www/discourse# git blame db/migrate/20240516145911*
fatal: no such path 'db/migrate/20240516145911*' in HEAD