Browse FAQs

How to automatically backup a PowerSCADA Expert system

Published date: 27 February 2020

Issue
Automatic backups are required for PowerSCADA Expert

Product Line
PowerSCADA Expert 8.2

Environment
Windows Task Scheduler

Cause
Automatic backups are not natively implemented within PowerSCADA Expert.

Resolution
This attached document includes the tasks required to create automated backups of a PSE system.

You can automate the backing up of PowerSCADA Expert (PSE) to include most of the PSE components that will be required to restore a system. PSE passwords and device profiles cannot be automatically backed up. They must be backed up manually. You can find the required procedure for this process starting on page 9.

.NET 4.5.2 and WMF 5.1 are required in order to run the provided scripts. WMF 5.1 is available as an offline windows update installer.

To automate the PSE backup process:
  1. In a text editor, open the PSEvX.x_Backup.ps1 script for your version.
  2. Edit the file for your system:
    1. For <$destinationDir>, enter your backup directory location.
    2. If you did not install PSE to the default install location, edit the <$pseBin> and <$pseData> to reflect the installed location path. 
  3. Save the file as PSE_Backup.ps1 in the following location: C:\ProgramFiles (x86)\Schneider Electric\BackupTasks
  4. Run PowerShell as Administrator and set the execution policy with the following cmdlet: Set-ExecutionPolicy Bypass.
  5. Open Windows Task Scheduler create a new task under Schneider Electric with a trigger to run once a week at midnight.
  6. Define the new action:
    1. For Action, click Start a program.
    2. In Program/script, enter the following: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    3. In Add arguments, enter the following: -noninteractive -nologo -file " C:\Program Files (x86)\SchneiderElectric\BackupTasks\PSEv8.1_Backup.ps1" 


Note: Some procedures in this document cite scripts you can use to automate the backup and restore process. These scripts are included in the below as .txt files. When downloading these files they need to be saved as .ps1 files to make them power shell scripts. Only download the script for the respective version of PSE (i.e. 8.1 or 8.2 not both)

Was this helpful?

What can we do to improve the information ?

Can't find what you are looking for?

Reach out to our customer care team to receive information on technical support, assistance for complaints and more.