Escolar Documentos
Profissional Documentos
Cultura Documentos
TABLE OF CONTENTS
Chapter 19 Backup and Restore..................................................................................................................................................... 1
19.1 General Information........................................................................................................................................................... 2
19.1.1 Objectives ................................................................................................................................................................... 2
19.1.2 Legend ........................................................................................................................................................................ 2
19.2 Backup Methods ................................................................................................................................................................ 3
19.2.1 Windows Backup........................................................................................................................................................ 3
19.2.2 Import/Export ............................................................................................................................................................. 3
19.2.3 Full Backup / Restore ................................................................................................................................................. 4
19.2.4 Cloning / Imaging ....................................................................................................................................................... 4
19.2.5 Disaster Recovery ....................................................................................................................................................... 4
19.3 Full Backup........................................................................................................................................................................ 5
19.3.1 Backup Procedure ....................................................................................................................................................... 5
19.3.2 How to Configure the Backup Service ....................................................................................................................... 5
19.3.3 How to Create a Backup Definition............................................................................................................................ 7
19.3.4 How to Run a Backup................................................................................................................................................. 8
19.3.5 Backup for System Messages and Basic History Data ............................................................................................. 10
19.4 Restore a System.............................................................................................................................................................. 11
19.4.1 Preparation Steps ...................................................................................................................................................... 11
19.4.2 How to Restore a System.......................................................................................................................................... 12
19.5 Import / Export ................................................................................................................................................................ 15
19.5.1 User Interface............................................................................................................................................................ 16
19.5.2 Precautions and Limitations...................................................................................................................................... 17
19.5.3 How to Export Data .................................................................................................................................................. 17
19.5.4 Hints for Exporting Data........................................................................................................................................... 19
19.5.5 How to Import Data .................................................................................................................................................. 19
19.5.6 How to Create a Difference Report........................................................................................................................... 22
19.5.7 Dependencies............................................................................................................................................................ 23
19.5.8 Resolving Errors ....................................................................................................................................................... 24
1 / 24
19.1.2 Legend
2 / 24
<>
Bold
19.2.2 Import/Export
The Import/Export tool can be used to save 800xA system objects and aspects
information one portion at a time. It stores the information in files outside of the
running Aspect Directory. This tool can be used to transport applications between
different aspect systems. For example:
Use the Find Tool in Plant Explorer and export the results.
The Import/Export Tool should never be used for the purposes of performing backups
of your system. There are limitations on the number of total objects that the tool can
handle and it is difficult to restore from Export files and maintain the necessary
dependencies between objects and aspects that are threaded through a system.
The main difference to the backup tool is that individually exported portions of 800xA
information can be imported back into the original system or into a completely
different system while backed up 800xA information can only be used to restore a
specific system on specific workstations.
3 / 24
All 800xA software must be installed and of the same level (version, service pack,
rollup, etc.) as when the backup was taken
The same system extension must be installed as when the backup was taken
The Domain server must contain the same configuration as when the backup was
taken
4 / 24
Backup is taken on-line but no changes shall be done in Aspect Directory during
an active backup.
Avoid using the backup when one or two secondary servers are down.
The data is stored in afw files. Make sure that your local disk has enough space to
store the backup. After this you should always store your backup in another location
than the 800xA system.
5 / 24
2. Select the tab Configuration on the Service Provider Definition aspect and
choose the node you want to put the backup on.
3. Select the tab Special Configuration and assign the backup path where the
backup should be stored.
It is possible to specify a free disk space limit. The backup service guarantees that
this amount of disk space is free after any backup is made. If the limit is passed
during a backup, the backup operation will fail and an error will be issued.
A low disk space warning limit can also be specified in this tab. If there is less
disk space available than the limit, a warning is issued.
6 / 24
2. Select the tab Scope on the Backup Definition aspect and choose to backup the
Aspect Directory.
NOTE!
3. Select the Backup Service Provider on the Storage tab. The Storage tab defines
the node on which the backup will be made. The nodes available are those that run
a backup service provider.
7 / 24
2. Select the tab Summary and Start backup on the Backup Definition aspect and
start the backup manually.
3. A status window is displayed during the backup and indicates at the end whether
the backup was successfully.
8 / 24
4. A new object is created under Backup object. It will be called <Backup Definition
Name>; <Date>; <Time>.
The Backup objects can have three different object icons. These indicate Success
(green), Warning (yellow) and Failure (red).
NOTE!
9 / 24
In the system from where the messages are to be imported: stop the System
Message service provider from the Service structure
Use Windows Backup (not the 800xA Backup) to backup the files in
the[disk]:\OperateITData\History\{provider ID} directory
NOTE!
10 / 24
Same version, Service Pack, Rollups and patch level for all OperateIT 800xA
software as when the backup was taken
The existing system must be deleted before the restore can be started. Make sure that
any redundant servers; clients and connectivity servers are removed before deleting
the system.
If a node is not properly disconnected from a system, the system will still remain as
files on the hard disk and registry keys. Old systems may cause conflicts if a new
system is loaded. Therefore its important to ensure that all old systems have been
successfully deleted before adding the node again.
11 / 24
12 / 24
3. Specify the root directory and the application will search for backups below the
root.
4. Select one backup in the tree view to be restored. From the selected backup, the
aspect directory is restored.
13 / 24
6. Select a Node on the Primary or Secondary nodes area in the Node Configuration
dialogs. Click Next to continue.
8. After the restore operation is complete the computer must be rebooted in order to
start all the services and start up the system.
NOTE!
14 / 24
Use the Find Tool in Plant Explorer and export the results.
The Import/Export tool is a good tool for safe keeping of configurations. In a scenario
where an upgrade of the system software is required then the Import/Export tool can
be used. Use the tool to backup all project specific objects and aspects in an afw file.
If for any reason these objects become corrupt or lost during the upgrade then the tool
can be used to import them back into the system again.
15 / 24
The user interface is designed to resemble the Plant Explorer as much as possible. It
consists of two main areas; the object browser and the aspect list.
Object Browser
Aspect List
The figure above shows the Import/Export tool with a file opened and an object
selected. The aspects of the selected object are shown in the aspect list.
An action or option can be available from more than one place in the User Interface,
like the toolbar or the context menu.
NOTE!
16 / 24
Include dependencies means objects and aspects from other structures will be
included in the archive as well.
For example, the Alarm List is dependent on the Alarm List Configuration aspect.
When an alarm list is exported, it is important that the Alarm List Configuration is
included. Otherwise the Alarm List aspect will not work correctly when imported
later on.
Include children includes the children of the object you have dragged into the
import/export tool.
The Overwrite existing data frame sets how the tools should react when data
already exists when performing an import or export.
17 / 24
3. When the settings are complete press Finish and the following progress window
appears.
18 / 24
Library Structure
Only own defined Objects and Aspects
Control Structure
Control Network Object with no children
Control Project with no children
Each Application (one file per application / export all)
Functional Structure
One file per functional area
Location Structure
Workplace Structure
Own defined workplaces
19 / 24
You can as well import the complete archive by selecting Import All.
20 / 24
If the Include Dependencies box is checked, the tool will import the selected
items in dependency order. If the Include Children box is checked the application
will import the selected objects children.
These boxes are enabled only if an object is selected when making an import. If
Import All is selected at the import, the items will always be imported in
dependency order.
5. Press Finish to start the import.
21 / 24
22 / 24
19.5.7 Dependencies
The Import/Export function is dependency aware. This means that aspects which
require another object to exist will be exported together in the export file with the
objects upon which it is dependent.
For example, if your Control Structure contains a user-defined custom object (lets say
youve created an object type OPC Analog in the Object Type Structure) and you
export the object, the object type will be exported automatically as well (unless this
feature has been turned off in the tool options).
To view dependencies for an aspect, select the aspect and choose the dependent
aspects by a simple right-mouse click. Alternatively click the Dependencies button
in the tool bar.
Note that if the dependency is related to a system extension, then the dependency is
noted in the export file, but the dependency object is not exported since it is assumed
that it already exists as part of loading the extension into the system.
During an import, the imported file might be dependent on a specific version of the
System, a System Extension or a Library. In this case, it is necessary to resolve the
dependencies by installing them - before continuing the import.
23 / 24
In the example above an object named B has been marked for an import, but the
parent of B (named A) does not exist in the system.
Another example below may be if an object already exists in the system, and the same
object has been marked for an import. In this case it needs to be resolved with a
decision to replace the object or aspect, skip the import for that object or aspect and
then continue with the rest of the import.
NOTE!
24 / 24