Вы находитесь на странице: 1из 7

Duplicating and Archiving Projects 8

8.1 8.1 Duplicating and Archiving Projects

Introduction
You may copy a project and all important data from one computer to another computer or to
a storage device.
Copy a project in the following situations:
● You want the same project to be edited on several computers.
● You want a project to run in a multi-user system on several computers.
● You want to edit a project and use the download changes online function.
● You want a project to be duplicated on a redundant server.
● You want to archive a project as a backup.

See also
How to Copy a Redundant Project During Operation (Page 8-7)
How to Duplicate a Project for Redundant Servers (Page 8-4)
How to Copy a Project (Page 8-1)

8.2 8.2 How to Copy a Project

Introduction
Depending on the status of the project, you may use the Project Duplicator to copy
configuration and Runtime data.
The following table shows which data are transferred during copying of a project:

Project Status Configuration Data Runtime Data


Project closed + +
Project open and deactivated + -
Project in Runtime + -

Working with Projects


09/2007, Printout of the Online Help 8-1
Duplicating and Archiving Projects
8.2 How to Copy a Project

Note
It is advisable to make backups of a project at regular intervals while you are creating the
configuration. This allows you to go back to an earlier version of the project and continue
from there.
If you modify a project later, you should also make a backup on completion of each change.
If necessary, you can then revert to the original version without having to edit the project
again.

Principle
Select the project you want to copy in the Project Duplicator.
Specify the folder where you want the copied project to be created. In the description below,
this is called the target folder.
The target folder can be on the same computer or on a computer in the network for which
you have access rights. The project folder is created in the target folder. When you copy it,
you can change the name of the project. The project folder is created with the project name.
You can only copy the entire project and the entire folder structure. You cannot exclude any
data or folders from the copy operation.
After the project has been duplicated, you can open and edit or activate it immediately. If you
copy the project to another computer, you must, however, adapt the computer name in the
project.

Note
If the Duplicate or Save As ... options of the Project Duplicator are used, the same WinCC
version must be installed on the target computer.
Projects created using SIMATIC Manager should not be copied using the Project Duplicator.

Copying to a Storage Medium


You cannot copy a project directly to a data medium. If you want to copy a project for
archiving on an external data medium such as a CD-ROM, copy the project to a local folder.
You then copy this folder to the data medium.
If you compress the project data before copying, for example in a ZIP archive, you require
less space on the data medium. This also prevents each individual file becoming read-only
after copying to a CD-ROM.

Requirements
● If only configuration data are copied, the project may be opened and remain activated.
Another project may remain open on the source computer and may run in Runtime.
● You have created the target folder.
● You have access rights for the target folder.
● No WinCC project must be open on the target computer since write-protected or system-
accessed data cannot be overwritten by the Project Duplicator.
● The target computer has enough free space on the hard disk.

Working with Projects


8-2 09/2007, Printout of the Online Help
Duplicating and Archiving Projects
8.2 How to Copy a Project

Procedure
1. In the Windows Start menu, select Simatic > WinCC > Tools and finally the Project
Duplicator command. The WinCC Project Duplicator is opened.

2. Enter the project you want to duplicate in the Select the Source Project that is to be
Duplicated box. You can enter the folder path and the <PROJECT>.MCP project file
directly or browse for them by clicking the button.
3. Click the Save As... button. The Save a WinCC Project dialog is opened.

4. Select the folder to which you want to copy your project and enter the name of the project
in the File Name box.
If you wish to save the copy of the project with a different name, enter the new name. The
project files are renamed accordingly when the project is copied.

Working with Projects


09/2007, Printout of the Online Help 8-3
Duplicating and Archiving Projects
8.3 How to Duplicate a Project for Redundant Servers

5. Click on the "Save" button.


The Copying... window is opened. When copying, the Project Duplicator displays the files
and folders with a progress bar. With the Cancel button, you can stop the copying.
6. Close the Project Duplicator with the Close button.
7. If you have copied the project to another computer, the original computer name is still
entered in the project properties. Correct the computer name in the project properties
when you open the project the first time. The modified computer name is adopted after
you close and open the project again.

Note
If you duplicate an open WinCC project on the source computer, no progress bar will be
displayed.

Alternative Procedure
You can also copy a project in the Simatic Manager using the Load Target System function.
For more detailed information, refer to the WinCC Information System under Working with
WinCC > Integration of WinCC in the SIMATIC Manager.

Copying a Multi-User Project


If you copy a multi-user project to another computer, you must adapt the computer name
after opening the project.
If you have already created packages in the copied project, the old computer name will be
used when the packages are generated. Before the packages are created, correct the
computer name in the boxes Symbolic Computer Name and Physical Computer Name.

See also
File Structure of a Project (Page 9-7)
How to Copy a Redundant Project During Operation (Page 8-7)
How to Duplicate a Project for Redundant Servers (Page 8-4)
How to Specify the Computer Properties (Page 6-7)

8.3 8.3 How to Duplicate a Project for Redundant Servers

Introduction
If you have created a redundant system, you must synchronize the WinCC project on the
redundant servers following any modification.
To transfer the project to a redundant server, you use the WinCC Project Duplicator.

Working with Projects


8-4 09/2007, Printout of the Online Help
Duplicating and Archiving Projects
8.3 How to Duplicate a Project for Redundant Servers

Note
To transfer a project to a redundant server, you cannot use the Windows Explorer.

Principle
Select the project you want to duplicate in the Project Duplicator.
You specify the computer and folder in which the project will be duplicated. The project
directory is created in this target directory.
You cannot duplicate a project on the local computer. You always duplicate a project on
another computer in the network to which you have access rights. In the description below,
this is called the target computer.
Depending on the status of the project, you may copy configuration and Runtime data into
the selected directory.

Project Status Configuration Data Runtime Data


Project closed + +
Project open and deactivated + -
Project in Runtime + -
You can only duplicate the entire project and the entire folder structure. You cannot exclude
any data or folders from the duplicate operation.

Requirements
● The redundancy option is installed on both computers.
● The target directory to which duplication shall be made has been created on the target
computer and is enabled for network access.
● You have access rights for the target folder.
● The target computer has enough free space on the hard disk.
● Microsoft SQL Server 2005 has been started on the target computer by starting WinCC.
● Runtime is deactivated on the target computer.
● The project is closed on the target computer.

Procedure
1. In the Windows Start menu, select Simatic > WinCC > Tools and finally the Project
Duplicator command. The WinCC Project Duplicator is opened.

Working with Projects


09/2007, Printout of the Online Help 8-5
Duplicating and Archiving Projects
8.3 How to Duplicate a Project for Redundant Servers

2. Enter the project you want to duplicate in the Select the Source Project that is to be
Duplicated box. You can enter the folder path and the <PROJECT>.MCP project file
directly or browse for them by clicking the button.

3. Enter the path on which the duplicated project will be stored in the Store duplicated
project for redundancy partner at box. You can enter the folder path and the
<PROJECT>.MCP project file directly or browse for them by clicking the button.
4. Click the Duplicate button.
The Copying... window is opened. When duplicating, the Project Duplicator displays the
files and folders with a progress bar. With the Cancel button, you can stop the
duplication.
5. After duplicating the Notes about the Project Duplicator window is opened. WinCC
indicates the settings that you still need to check.
Click the Close button.
6. Close the Project Duplicator with the Close button.
7. Check the settings in the duplicated project and adapt them where necessary.
Check the computer name, the settings in the redundancy editor and, if necessary, the
settings in the editors.

Note
If you duplicate an open WinCC project on the source computer, no progress bar will be
displayed.

See also
File Structure of a Project (Page 9-7)
How to Copy a Project (Page 8-1)
How to Copy a Redundant Project During Operation (Page 8-7)

Working with Projects


8-6 09/2007, Printout of the Online Help
Duplicating and Archiving Projects
8.4 How to Copy a Redundant Project During Operation

8.4 8.4 How to Copy a Redundant Project During Operation

Introduction
If you edit a redundant project, you can also update the project on the redundant server
during operation.
You can save minor changes with the Save Online Changes function and then transfer them
to the servers. You should also refer to the documentation on the topic of Downloading
Changes Online.
Some configuration cannot be saved by the download online changes function. In this case,
you must copy the project to the redundant server with the Project Duplicator.

Requirements
● You have created the target folder.
● You have access rights for the target folder.
● The redundant server on which the copied project will be stored has enough free hard
disk space.

Procedure
This chapter describes how to use this function in a redundant system with the two servers
Server1 and Server2.
1. Exit Runtime on the redundant server Server1 and edit the project.
2. Close the project and start the Project Duplicator.
3. Copy the project to the redundant Server2 using the Save As button.
Give the project a different name in the target folder. You cannot overwrite the active
project on Server2.
4. Open the project on Server1. Start Runtime and wait for the redundancy synchronization.
5. Exit Runtime on the redundant Server2 and close the project.
6. Open the updated project on Server2.
7. Adapt the computer name in the computer properties and start Runtime.

See also
How to Specify the Computer Properties (Page 6-7)
How to Duplicate a Project for Redundant Servers (Page 8-4)
How to Copy a Project (Page 8-1)
Loading Online Changes (Page 6-21)

Working with Projects


09/2007, Printout of the Online Help 8-7