Professional Documents
Culture Documents
TABLE OF CONTENTS
Chapter 6 Backup & Restore .................................................................................................................................................. 1
6.1 General Information...................................................................................................................................................... 2
6.1.1 Objectives .............................................................................................................................................................. 2
6.1.2 Legend................................................................................................................................................................... 2
6.1.3 Reference Documentation ...................................................................................................................................... 2
6.2 Major Element To be Backup........................................................................................................................................ 3
6.2.1 Folders................................................................................................................................................................... 3
6.2.2 Registries ............................................................................................................................................................... 3
6.3 OFF-LINE BACKUP S+ Backup Restore Tool ............................................................................................................. 4
6.3.1 OPERATIONS HSI SERVER ................................................................................................................................ 4
6.4 ON-LINE BACKUP S+ Backup Restore Tool............................................................................................................. 12
6.4.1 OPERATIONS HSI / HISTORY SERVER .......................................................................................................... 12
6.4.1.1 Ex/Import- and Backup- Manager .................................................................................................................. 12
6.4.1.2 Start the Export ............................................................................................................................................. 15
6.4.1.3 Handling with a Redundant Symphony Plus HistoryServer............................................................................. 15
6.4.1.4 Splus Operations History DB Limiter .......................................................................................................... 18
6.4.1.5 Import of Signal Values ................................................................................................................................. 19
6.4.1.6 Operation ...................................................................................................................................................... 21
6.4.1.7 Reset of export function and change of export disk names .............................................................................. 24
6.4.1.8 Ini-File .......................................................................................................................................................... 24
6.4.1.9 Backup .......................................................................................................................................................... 25
6.4.1.10 Call of the Backup Configuration ................................................................................................................. 26
Chapter 6 - 1
Know and use the backup and restore tool for S+ Operations HSI Server
Know and use the backup and restore tool for S+ Operations HISTORY Server
6.1.2 Legend
>
Italic
Bold
Chapter 6 - 2
2VAA003351
2VAA001148E
2VAA0001151E
GRAPHICS
COMPOSER OPERATIONS
\HistData\RAW
....\HistData\Events
6.2.2 Registries
o
COMPOSER OPERATIONS
Chapter 6 - 3
Chapter 6 - 4
Chapter 6 - 5
Chapter 6 - 6
Chapter 6 - 7
After backup is done is possible to look on the Tab Restore to list all the Backup files
already created.
Chapter 6 - 8
Its also possible to change the name of the *.scb file already created directly from the
folder
Chapter 6 - 9
Chapter 6 - 10
Just click to the files that you want to restore and after click restore:
So this is the way to make OFF-LINE backup for S+ Operations HSI Database and
Registry
Chapter 6 - 11
Note:
To configure the program, the Symphony Plus History ExImport automatic process must
be stopped. After the configuration
work is finished, the export automatic process should be started again.
Configuration of the Signal Export
The export programming uses export classes. Each signal is assigned to these export
classes.
Configure Export-Classes
Chapter 6 - 12
The ExImport program allows the definition of the export classes related to a Symphony
Plus History server.
Each export class is identified by a name (for example "Move1Year"). Each class must
have the following information:
for example 2
Max. size of archive files [MB]: defines the desired maximum size of the export media.
This value can be used as a limit for network drives in order to avoid disk space overruns.
Event Export: Export events out of the event database to an external drive.
The export the events can be the same export path as the Symphony Plus History
data.
The export class "Default" is always available after installation of the Symphony Plus
History ExImport with the defined with following parameters;
Name of the export class =
Mode =
Default
COPY
Delay [days] =
C:\REO1
-1
Event Export =
Note: The value "-1" for the parameter MaxMB indicates that the complete medium will be
used.
Selecting the menu item "Configure Export Classes" opens the configuration dialog box.
Right-mouse click to modify the lines in the table (Insert, Delete, and Move).
Chapter 6 - 13
If new signals are created in the database, these signals are automatically assigned to the
default export class. The default export class is defined under Extras->Options in the
SignalExplorer.
Chapter 6 - 14
After setting the desired start time for the export class, and clicking "OK", the Symphony
Plus History ExImport is ready to
execute the defined archive jobs at the time specified in the initialization file.
Note:
The first start date of an export class can be specified only once. Later changes are not
possible.
Chapter 6 - 15
Put in the Symphony Plus History server database names of both servers, and then set the
path names for both databases.
The "Redundancy settings" tab shows the adjustments necessary for the redundant
installation.
Put a unique identifier name in the field redundancy name. For example, ExImporter1 is
the name of one installation and ExImporter2 is the name of the second installation.
The inspection interval sets how often the redundancy status will be checked.
Select Active to set the redundant mode
Chapter 6 - 16
SQL Server 1 : name of the ODBC connection to the first Symphony Plus History event
database
SQL Server 2 : name of the ODBC connection to the second Symphony Plus History event
database
Database : name of the Symphony Plus History events database
User
Chapter 6 - 17
To modify, enable or disable the configuration, the SPlus DB Limiter service must be
stopped.
The configuration file for the SPlus DB Limiter can be found under:
..PlantConnect.BIN\Events\Importer\PlaCoImport.ini
ExImport with red. Symphony Plus History Server
For a single installation of the ExImport, typically on a Symphony Plus History Client or
Application Server, both Symphony
Plus History servers must be accessible.
Open the System settings menu.
Enter the Symphony Plus History server database names of both servers, and then set the
path for both databases.
The "Redundancy settings" tab shows the adjustments necessary for the installation.
Chapter 6 - 18
Chapter 6 - 19
Open the signal list by clicking the desired Export class within the import window.
Drag signals to the list using the SignalExplorer
Click OK to close the list
Chapter 6 - 20
import.
The difference is that the name used under Filename is definitely preset with EM_*.txt.
The entry under Name= is used for information only, and has no effect on the events.
In the channel name, the imported events are provided with the addition <ExIm>.
When selecting the media required for import, the user is guided by the ExImport program.
Open documentation file The Symphony Plus History User Manual including the
description of the Symphony Plus History ExImport can be opened by selecting the Open
documentation file command.
Show information window Select Info to display the current version of the program is
shown in the information window.
System events
During the export process, events are displayed on the screen.
The information always points to the measures necessary at the time. Legend and exchange
of export are both controlled via the note windows.
6.4.1.6 Operation
Storing data continuously on external media
The backup program is normally set so that data is stored cyclically every night. The
program must be set to execute continuously.
Normally the program starts automatically when the computer is started.
The start of the program can be checked by clicking the icon (small moon) in the right
lower corner of the screen in the task bar.
The only action that usually must be executed during the backup program operation is to
exchange the magnetic -optical disks when they become filled with data.
Check of the data storage Data storage can be checked either in the main window of the
ExImport program or in the log file.
The main window of the program ExImport can be switched to the foreground by clicking
the (small moon) icon in the right lower corner of the screen in the task bar.
All messages that appear in the main window of the program are also stored in the log file
ExImNew.log in the folder:
..\PlantConnect.SYS\Debug\ExIm.
The example below shows an extract from the ExImport program log file.
Chapter 6 - 21
20.11.00 08:28:04>
20.11.00 08:28:04> ===== Start Program ExIm.EXE =====
20.11.00 08:28:04> reading settings from file ExIm.INI ...
20.11.00 08:28:04> reading of settings finished.
20.11.00 08:28:04> Check Server ...
20.11.00 08:28:04> database server deutaminw1035 has 1131 KKS, 9 of them without any
Export-Class.
20.11.00 08:28:04> Check Server finished successfully.
20.11.00 08:28:04> archive-manager started ...
20.11.00 08:28:04> Within 10 sec the first archiving will be started.
20.11.00 08:28:05> archive-manager stopped ...
20.11.00 08:28:05>
20.11.00 08:28:05>
SPlus Operations History User Guide ADDITIONAL APPLICATIONS
212 2VAA0001151C
20.11.00 08:28:06> archive-manager started ...
20.11.00 08:28:08> do Today's Export Jobs ...
20.11.00 08:28:08>
20.11.00 08:28:08> reading Export-Class definitions from server ...
20.11.00 08:28:08> reading successfully finished.
20.11.00 08:28:14> Export-Class [default]:=== The first time signals found. ===
20.11.00 08:28:14> Export-Class [default]:> start-time of export will be determined
automatically ...
20.11.00 08:28:19>
20.11.00 08:28:19> Event-Message: Export aborted. Reason: :Interrupt (Cancel) by
Operator ! :
20.11.00 08:28:20> finishing program ... waiting ...
20.11.00 08:28:20> Stopping Export-Automatic ...
20.11.00 08:28:20> archive-manager stopped ...
Exchange the export disk
If the export disk inserted into the disk drive has reached its maximum storage capacity, the
user is requested to exchange the disk.
This program offers complete guidance to the user in order to let him execute the necessary
actions.
The full disk can be removed from the drive by right-clicking the drive in Windows
Explorer, and then selecting "Eject".
Insert a new disk prepared for the data storage into the drive will be requested.
Chapter 6 - 22
Click the "Continue" button to restart the procedure. The progress can be seen in the main
window of the program.
Finally the program should be set to run in the background again.
Restore archived signal data that is needed for examination can be restored from the
archives. The action for the PlantConnect values is nearly the same as for the events.
In order to be able to restore data:
The main window of the program must be switched to the foreground.
The automatic execution of the export task must be stopped by clicking the "Stop archive
Management" button.
Select "Tools->Re-Import of signal-values"
Selected the signals from the SignalExplorer, and then move them to the Export class using
drag-and-drop operations.
The program requests the user to insert the volume into the export disk drive.
The volume must be inserted into the drive. Click the "Continue" button to start the import
process. This procedure may be repeated several times, depending on the data to be
restored.
When all the selected data has been restored to the hard disk a message appears.
To import events, you must set only the time scale for the events you need. After the start
of the program you must insert the disks needed.
Delete restored values Data that has been restored can be removed again from the hard disk
by using the "Import->Remove imported signal-values" command.
Before deleting restored values, you must stop the automatic execution of the export task
by pressing the "Stop archive Management" button.
After the restored data has been deleted the automatic execution of the export tasks must be
started again.
Note:
Please remove the restored data from the hard disk as soon as the data is not needed to
ensure current historical data space requirements.
Restored data is not removed automatically by the ExImport program.
Chapter 6 - 23
Note:
Reloaded (imported) events are available for processing up to the next execution of the
"Delete Old Rows" task.
For the import of events, sufficient storage space must be available in the event database.
The storage space currently available in the event database can be determined using the
event import commands (Refer to the documentation for Event Management).
6.4.1.8 Ini-File
The Ini file ...\PlantConnect.BIN\ExIm\ExImport.ini includes the settings for ExImport.
[Export]
SingleOpDelayMilliSec=100
EventServer=
Chapter 6 - 24
DailyExportStart=04:00
DebugLevel=0
Log-Level:
0 = low level
5 = high level
(Default value is 0)
[ShellProgram]
ProgName=
ProgPath=
ProgParameter=
[ServerDataRoots]
DEUTAMINW1035=f:\ROH\
[ReduSettings]
Name=Lokal
Active=1
RCheck=3
[EMSettings]
The following settings are necessary to access an Event Management
Database (SQL-Server)
DSN=PlaCoEvents
Database=PlaCoEvents
User=conmea
pwd=placo
[SQLTasks]
WaitForExcecuteInSeconds=2000 Time until SQL-Server command is done (Time out)
6.4.1.9 Backup
The Symphony Plus History backup tool is integrated into Symphony Plus History
ExImport.
Any folder information can be saved.
By default, the folders are saved:
..\PlantConnect.ROH\*.bin
..\PlantConnect.BIN\*.*
..\PlantConnect.SYS\*.*
..\PlantConnect\*.*
They are copied at the first start of the program to the backup folder :
..\PlantConnect.Backup\
A timed backup can be performed on a drive or, by the assignment of an export class, on
Chapter 6 - 25
Chapter 6 - 26
Chapter 6 - 27