Type of Open file | Backup Methods |
Temporary or System‑Only Files e.g.: • “pagefile.sys” • “backout.tts” | These files are just temporary storage and do not require backup/restore. System‑only files (like backout.tts on NetWare servers or pagefile.sys on Windows servers) and temporary files created by various applications are irrelevant and should be excluded from backups. The DS‑Client has a list of the files that will be ignored during the backup process, thereby eliminating unnecessary errors (the DS‑Client installation sets up a default list of System only files for Windows and NetWare computers). This list is found in the DS-Client Configuration > Advanced : Installation > SystemFiles parameter. See “DS-Client Advanced Configurations”. The default list includes: • system.da0, user.da0, pagefile.sys, win386.swp, backout.tts, btrieve.trn, net$obj.sys, net$val.sys, net$prop.sys, dsclient.mdb, dsdelta.mdb |
Special File Types e.g.: • Microsoft Exchange • Oracle • DB2 • Microsoft SQL Server • Microsoft Outlook • System State / Registry • etc. | The DS-Client has separate backup set types for a significant number of common applications which use locked files (e.g. Databases). When backing up such resources, they are not backed up as files. Instead, the DS-Client will use the native backup API corresponding to the backup source (it will perform hot backup of such databases, without any locked files or consistency issues). • The DS‑Client automatically excludes known Special Files, like Registry and Bindery files during file system backups to eliminate unnecessary errors. |
Files opened by other applications | Any open file that does not belong to the first two categories (Temporary or Special files) is considered a regular file. DS‑Client will attempt to backup a regular file using the steps described below. Files can be opened by applications in different ways. In general, the DS-Client will be able to back up a file successfully as long at it has permission to read it. To improve the chance of reading a file, DS-Client has the following options: • On read failure, the DS-Client can be instructed to retry up to 10 times with a user-configurable delay between retries (Backup Set Properties > Options). • If a locked file can be opened for reading, DS-Client will attempt to make a consistent backup by trying to prevent other applications from writing to the file, using 4 levels of locking (whole file lock, complete byte ranges lock, partial range lock and no lock usage). Locking options can be modified by the end-user (see “Open File Backup Strategy Options”). Pre/Post capabilities in the DS-Client allows a customized backup to be performed for special files/applications for which the DS-Client does not have a built-in backup set type. This allows the DS-Client to issue “dump” commands to 3rd party applications or to stop applications/service that keep files locked and once the backup is complete, to erase the dump files or restart/resume the application. (See “Enabling Pre/Post processes in Backup Set Options”.) |
Strategy | Backup Strategy Description |
Try Deny Write | Attempt to open backup file in 'Deny Write' mode. If this fails (because the file is already open for writing), place the backup file in 'Allow Write' mode. |
Deny Write | This mode prevents any other process from opening backup file for writing to, while the DS‑Client has it open. DS‑Client will not back up the file, if another process has already opened it for writing. (However, you may instruct the DS‑Client to retry backing up the open file.) |
Prevent Write | Attempt to open backup file in 'Deny Write' mode. If this fails (because the file is already open for writing), then open in Allow Write mode and lock the file, thereby preventing any process from writing to the file for duration of backup. This ensures that the most recent version of the file is backed up. |
Allow Write | Allow another process to read/write to the backup file (no restrictions). Since other applications can write to the file while it is being backed up, this may affect file consistency. |