A0205e-1 Cetrics DBBackupTool UserManual
A0205e-1 Cetrics DBBackupTool UserManual
User Manual
Rev 0.1
Cetrics DBBackupTool UserManual
Contents
1. Introduction................................................................5
1.1 About the User Manual........................................5
1.2 Contact.................................................................5
2. Overview....................................................................6
2.1 The configuration file..........................................6
5. Appendix.................................................................13
5.1 Configuration file example................................13
Cetrics DBBackupTool UserManual
1. Introduction
Thanks for using Cetrics DBBackupTool.
1.2 Contact
For further information and technical support please contact
Cewe Instrument.
Cetrics DBBackupTool UserManual
2. Overview
DBBackupTool is used to perform backups on the Cetrics
database.
are settings that are used for saving timestamps when backups
have been done in the corresponding directories. These settings
shouldnt be changed by the user.
2.1.1.1 DbPath
Setting where the path to the base directory where the backups
will be saved. Default value is the Cetrics database directory
(e.g. C:\Program\Cewe\Cetrics\Database).
2.1.1.2 NextBackupDir
Setting that indicates in what directory the next backup will be
saved.
2.1.1.3 LogToFile
Setting that indicates if logging to file should be done. Observe
that the file is not restricted to a certain size and will grow.
Default value is FALSE.
Cetrics DBBackupTool UserManual
2.1.2.1 BACKUPDIR1
Setting that indicates the first backup directory.
2.1.2.2 BACKUPDIR2
Setting that indicates the second backup directory.
2.1.2.3 DSN
Setting used to store the data source name (DSN) of the
Cetrics database, if this setting is empty the default name
(Cetrics) will be used. Change the value line from <value /> to
<value>DsnName</value> and change DsnName to the desired
value.
2.1.2.4 LogFile
Setting that stores the file where loggings will be written to,
default value is DBBackupTool.log.
Cetrics DBBackupTool UserManual
In windows mode the user can change the base directory where
the backup directories will be created. Logging can be turned on
by checking the checkbox next to the backup button. Logging
will be written to the indicated log file.
If the user enters an invalid path in the input field the backup
button will be disabled and the labels that indicate the backup
paths will be coloured red as follows.
Cetrics DBBackupTool UserManual
10
Cetrics DBBackupTool UserManual
11
Cetrics DBBackupTool UserManual
In batch mode the program reads the configuration file and does
a backup and shuts down. The batch mode can be useful when
using the Windows scheduler to schedule backups.
12
Cetrics DBBackupTool UserManual
5. Appendix
5.1 Configuration file example
13
Cetrics DBBackupTool UserManual
</setting>
<setting name=FullBackup1serializeAs=String>
<value />
</setting>
<setting name=FullBackup2serializeAs=String>
<value />
</setting>
<setting name=LatestBackupserializeAs=String>
<value />
</setting>
<setting name=LogToFileserializeAs=String>
<value>False</value>
</setting>
</DbBackupTool.Properties.Settings>
</userSettings>
<applicationSettings>
<DbBackupTool.Properties.Settings>
<setting name=BACKUPDIR1serializeAs=String>
<value>FullBackup1</value>
</setting>
<setting name=BACKUPDIR2serializeAs=String>
<value>FullBackup2</value>
</setting>
<setting name=DSN serializeAs=String>
<value>CertricsNo</value>
</setting>
<setting name=LogFileserializeAs=String>
<value>DbBackupTool.log</value>
</setting>
</DbBackupTool.Properties.Settings>
</applicationSettings>
</configuration>
14
Cewe Instrument AB
Box 1006 SE-611 29 Nykping SWEDEN
Tel: +46 155 775 00 Fax: +46 155 775 97
e-mail: [email protected] www.ceweinstrument.com
A0205e-1