Find in this manual | ||
Replace with |
Restore Game from Backup
Hopefully, you will never need it, but the Restore Game from Backup option (OOTP Menu >> Restore Game from Backup) is used to recover a corrupted or damaged saved game (or one you simply want to "rewind"), using a previously-created backup:
Note: You cannot restore "over" an existing saved game. Therefore, you must always choose a new name for your restored game. If necessary, you can then delete the version of the saved game you no longer need.
Any time OOTP saves a game, it does the following:
This automatic restore function can be disabled entirely, if so desired, by adjusting the dat_file_mode variable in the app configuration file.
Option | Description |
Select Folder | Opens a file navigation window in which you can browse for the folder where your backup files are stored. By default, backups are stored in the OOTP Baseballackups directory within your OOTP installation directory. |
Target folder or league name | Enter the name you would like to use for the restored copy of your saved game. |
Start restore | Restores the selected backup file to the target folder. Once the restore is complete you will receive a confirmation of the success of the restore. Once a saved game has been restored, you can open it again using the Load Saved Game option. |
Automatic Restore Function
OOTP also has an automatic restore function that helps the game recover from any problems with the integrity of your saved game. We do still recommend backing up your saved games regularly! Here is how the automatic restore function works:Any time OOTP saves a game, it does the following:
- OOTP creates a special flag file (league folder/settings/db_save_flag.log).
- OOTP moves all of the key database files that make up a saved game (the .dat files) to a sub-directory called /auto-save. (These are effectively your last valid saved game files.)
- OOTP writes new .dat files (that is, with the changes since you last saved).
- OOTP deletes the flag file again.
- OOTP deletes the flag file.
- OOTP copies the .dat files to a new folder called "incident_timestamp". These are the .dat files that may be in an inconsistent state, but we want to preserve them just in case the user wants to keep them for some reason.
- OOTP deletes all .dat files from the league folder.
- OOTP moves the last "good" .dat files from the /save folder into the main league folder, effectively restoring the last "valid save."
- OOTP checks all news/injury/transaction files and delete entries that are newer than the restored game date.
This automatic restore function can be disabled entirely, if so desired, by adjusting the dat_file_mode variable in the app configuration file.