SUMMARY I would like to make a backup of my project including all include projects by using a batch file How do I do this? |
|
|
SITUATION
|
ACTION The below batchfile will allow you to backup your project including all the include projects and assumes that CitectSCADA has been installed in the default location * Project backups are only made from the Main project and any custom include projects. The default Include/system projects (i.e are NOT included) * In case you have specified a custom installation path, you need to replace the highlighted in blue with the custom path and make sure that it points to the correct location (Bin), where CTBack32.exe is located --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- START /WAIT "Title" "C:\Program Files (x86)\Schneider Electric\Citect SCADA 2018\Bin\CTBack32" -dMyProject -b C:\Temp\ -s+ -u+ -c+ -a Echo . --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- In the above example a backup will be made from a project called MyProject and the location where the backup will reside is C:\Temp\ *Note also that you have add the following citect ini parameter for the backup to work correctly [Backup] You can replace "MyProject" and "C:\Temp\" with your own project name and project backup location, then copy all of it into a notepad file and rename the extension to .bat Run the batch file by double clicking on it Once the backup is done, you will be presented with a similar command prompt as below. Press any key to close the command prompt The backup will be named following your main project name. In this example the backup is called MyProject.ctz, which has all the include projects included |