[Tex/LaTex] Backup and restore settings in Texstudio
texstudio
Does someone know, how to save all the settings of Texstudio and restore them in a simple way?
Thank you in advance!
Best Answer
The profile (Menu > Options > Save/Load profile ...) saves almost all settings except for window positions and macros. It is meant to be used in case you want to switch between configurations.
If you want to make a complete Backup, you can copy/replace the settings file. Or the complete settings folder, which contains additional information like the recent files list, additional dictionaries, cwls an so on.
TeXstudio uses the following saving strategy to prevent data loss if something unforeseen happens during saving:
Prepare: If the file exists, create a backup copy filename.tex~txs[i] so that it's content is not lost in case of error.[i] may be any number between 00 and 99.
Save: Write the original file.
Cleanup: In case of error, rename the backup file back to the original filename, otherwise delete the backup.
You'll get the the error message if TXS is not able to successfully copy the original file to a file with any number [i] between 00 and 99. For example this could happen if you don't have write permissions to the directory.
Best Answer
The profile (
Menu > Options > Save/Load profile ...
) saves almost all settings except for window positions and macros. It is meant to be used in case you want to switch between configurations.If you want to make a complete Backup, you can copy/replace the settings file. Or the complete settings folder, which contains additional information like the recent files list, additional dictionaries, cwls an so on.