Backup Files

Source Insight makes a backup copy of a file the first time you save the file after opening it. If you open a file and save it ten times, you will still only get one backup file. If you close and reopen file, or start a new Source Insight session, a new backup will be saved when you save the file again.

Opening a Backup File

To open a backup version of the current file, select File > Open Backup File. See: Open Backup File.

Saving a New Backup File

Normally you don’t need to save your own backup files because they get created automatically when you save files. However you can use the Save New Backup File command to take a snapshot of the current file buffer and save it as a new backup file. The new backup is added to the existing backup files in the Backup folder.

To open a backup version of the current file, select File > Open Backup File. See: Open Backup File.

Backup Folder Location

Backup files are stored in the Backup folder of the current project. You can edit the Backup folder location by using Project > Project Settings.

Backup File Names

Backup files are given a unique name based on the original file name. For example if the original file name is render.c, then the backup name will be something like render(1066).c where the (1066) part is a random value to make the file name unique in the Backup directory.

Comparing a File with a Backup Version

To compare the current file with a backup version of the same file, select Tools > Compare With Backup File. See: Compare with Backup File.

Backup Options

You can set options for backup files by selecting Options > Preferences: Files. See: File Options.

The following options control backup files:

inset_3_1.jpg