The software is used for automated archiving of data files on hard disks. Except for the initial setup and configuration, the programs do not require any user interaction. Log files and e-mail messages are used for communication with the user.
The process is controlled via configuration data in the XML format. There is no user interface.
The software is optimized for archiving of user data from a file server. The files are being copied using the mechanisms of the operating system including the access rights, if desired. A file will not be copied if access to the file is denied. This may e.g. happen in the case of database or system files.
CPTec Backup comprises two programs for archiving of data:
IncrementalBackup only archives data that have changed since the last backup, e.g. for a daily backup created in the evening. It creates folders which are required for the directory structure. It copies files into an already present target folder by overwriting. IncrementalBackup may also be started several times a day. In this case all changes that occur during the day will be collected.
The configuration file contains definitions for sources and for targets.
Source = A source for the backup: The drive/folder/shared folder that is to be copied. Every source is marked by a short and distinct name. As an example, a folder containing the personal data of all users may be called "PRIVATE" oder "USER".
Target = A target for the backup: The drive/folder/shared folder into which the data are to be copied.
SwitchTarget = A special target that will be selected from a list of defined targets. Depending on the contents of the listed "possible" targets, the one will be selected automatically that has not been a backup target for the longest period of time. The date of the last backup in such a target will be determined by checking the comprised DateFolders and not by checking the date and time stamps in the file system.
DateFolder = The date folder: A folder that will be created automatically on the target in order to arrange the individual backups according to the backup date. Using the format "YYMMDD", these folders will be named according to the backup date, e.g. "050907" for September 07, 2005. The date at the start of the backup is relevant for this. The <DayOffset Hours="n" /> command may be used to correct this date with respect to the real system time. The name of this folder will later on be used by the software to determine which DateFolder is to be deleted if the disk space on the target is getting short. When sorting in alphabetical order, this nomenclature makes sure that the backups on the target are also displayed in chronological order.
SourceFolder = The source folder: A folder that will be created on the target inside of the DateFolder for each copied source. The name of the related source is used as the name for this folder.
In general, sources are shared folders. A local drive should be selected for the first target. This method offers the following advantages when copying to the other targets:
If a target is defined as a SwitchTarget, the target to be used actually will be determined first. The target in the list that has not been a backup target for the longest period of time will be selected. In the case of FullBackup, the <ExistingDateFolder ReuseSwitchTarget="yes/no" /> command can be used to specify if an already used target from the SwitchTarget list may be used again for another run on the same day. In the case of IncrementalBackup, the oldest target is always selected.
A DateFolder is created for each target. If the backup is started for the second time on the same day, the DateFolder may exist already. In this case, FullBackup and IncrementalBackup will react differently:
One after the other, all sources are copied into the DateFolder. To this end, a SourceFolder with the name of the source is created for each source, and the data will be copied to this folder. <ArchiveBit Ignore="yes/no" Reset="yes/no" /> can be used to specify if all files or only modified files are copied and if the archive bit of the source files is reset after copying. <Security Copy="yes/no" /> can be used to specify if the access rights for the folders and files have to be copied too.
If the free space on the target falls below the "FreeGB" value during the copy process, the software determines the oldest DateFolder on the target and deletes this folder. Afterwards the copying process is continued. If it is not possible to free enough disk space this way the backup is aborted.
During the copy process, two log files will be written into the folder specified with <LogFiles Path="Ordner" />: A "progress log" containing all files that have been copied and a "warning log" containing all files that could not be copied. The names of these log files start with the name of the DateFolder. The current state of the log files is copied into the DateFolder of each completed target.
Configuration errors are displayed in the console and in the event log. All other errors will be reported in the event log and via e-mail, if configured. Start and stop of the backup are also logged in the event log.
If configured, an e-mail containing statistical data and a copy of the warning log will be sent after the backup process has been completed.
Version 1.0