Please note that while restoring the database you also need to restore the os-data directory. The state of the app is not just database, it is a combination of (database + data directory i.e. os-data directory). So both need to be restored to the same date.

Please follow the below steps to restore OpenSpecimen data from the backup:

MySQL:

Oracle: