Backup Files
Studio creates a backup file of models while saving, which can be used to recover the model if it fails to save.
How backup files work
When a user working on a model uses “Save As” or “Save” to save over their existing .io file, the model is backed up by renaming the file with the extension .backup in the same folder location.
- Example: C://MyModels/mycoolmoc.io. is renamed to C://MyModels/mycoolmoc.io.backup
This backup file is kept to preserve the original file and is deleted if the save is successful.
mycoolmoc.io with unsaved changes
Saving mycoolmoc.io will backup the last saved model by adding the .backup extension to existing .io file
Successfully saving the model will save the .io file and delete the backup file
If saving fails
If the save fails for any reason, or the Studio application crashes, the backup file will still exist in the user’s folder, but the original model file (mycoolmoc.io) will not be there. This can cause users to think that their model has disappeared.
Recovering a model
To recover a model, remove the .backup extension from the file.
- Example: Rename mycoolmoc.io.backup to mycoolmoc.io
Any unsaved changes that failed to save will not be backed up. The .backup file will only recover the model from the last time it was successfully saved.
Accidental deletion of a backup file
- If a user creates a new file using the same model name (for example, mycoolmocmoc.io) and then tries to save the new file, the previous .backup will be deleted. This can cause the user to permanently lose the backup file.