The File handling » Backup branch of Settings has the following options.
If this is set, a backup of the file is created on save. This setting has three possible options:
Normally the directory used for the backup file is the same directory as the source file. This field allows all backup files to be created in the same backup directory. If left blank, the backup will be saved to the source file directory.
The options here allow you to specify settings for sequentially numbered backups for file save. Note: To save version backups in the default backup directory specified above, you must include the default backup directory variable ($b
) in the format (described below).
On save
If this option is selected a backup file with a version number will be saved every time a file is saved.
On automatic save
If this option is selected, a backup file with a version number will be saved every time an automatic save of an active file is executed.
On FTP save
If this option is selected, a backup file with a version number will be saved every time an FTP file is modified and saved. Note: If the Local backup directory is already specified under the "Advanced" tab for an FTP account, that directory will override this setting for files opened from that server.
Default FTP backup directory
In order to select the On FTP save item above, a local directory must be specified here as files opened from FTP servers don't exist on the local system. When a file is backed up, the account name will be created as a subfolder of the Local backup directory and further subdirectories will be created as necessary to recreate the location of the modified file on the remote server.
Format
This text field may be used to specify the format to be used for version backups. The format supports the following variables.
$b
- Default backup directory$p
- File path$n
- File name$e
- File extension$H
- Hour$M
- Minute$d
- Day$m
- Month$y
- Year$c
- Counter$u
- Windows user name$s
- SessionMaximum number of backups
This field may be used to specify the maximum number of version backups to be saved for each file. Enter -1 here for unlimited version backups.