我們的品牌

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
How to automatically backup a PowerSCADA Expert system

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. Create a BackupTasks directory under C:\Program Files (x86)\Schneider Electric\BackupTasks.
  2. In a text editor, open the PSEv9.x_Backup.ps1 (or .txt) script for your version.
  3. Edit the file for your system:
    1. For <$destinationDir>, enter your backup directory location.
    2. If you did not install PSO to the default install location, edit the <$pseBin> and <$pseData> to reflect the installed location path.
  4. Save the file as PSO_Backup.ps1 in the following location: C:\Program Files (x86)\Schneider Electric\BackupTasks
  5. In a text editor, open the Delete_Old_Backups.ps1 (or .txt) script for your version.
  6. Edit the file for your system:
    1. For <$PSEpath>, enter your backup\PSO_Backups directory location.
  7. Save the file as Delete_Old_Backups.ps1 in the following location: C:\Program Files (x86)\Schneider Electric\BackupTasks
  8. Run PowerShell as Administrator and set the execution policy with the following cmdlet: Set-ExecutionPolicy Bypass.  Select “A” to execute all steps of the change. Note: This might be overridden by group policy, but the new scripts seem to work on the server.
  9. Open Windows Task Scheduler create a new task “PSO Backups” under the Schneider Electric folder.

Image1

Set the task to run under NT AUTHORITY/SYSTEM or NT AUTHORITY\LOCAL SERVICE (use SYSTEM under advanced selection)
Image2
Set the task to run under NT AUTHORITY/SYSTEM or NT AUTHORITY\LOCAL SERVICE (use SYSTEM under advanced selection)
Click the Change User or Group… button. Type “system” in the “Enter the object name” area. The “From this location” selection should be set to the local server.
Image3
Click Check Names
Image4
Click OK.
Image5

  1. Set a trigger to run once a week. We have chosen Sunday at 1am in the past.

Image6

  1. Define the new action: Note: Please verify these file locations. The text of the program/script and argument can be found in the Scheduled task – Program and Argument Text.txt file .
    1. For Action, click Start a program.
    2. In Program/script, enter the following: C:\Windows\syswow64\WindowsPowerShell\v1.0\powershell.exe
    3. In Add arguments, enter the following:

-noninteractive -nologo -file "C:\Program Files (x86)\Schneider Electric\BackupTasks\PSOv9.0_Backup.ps1"
Tip: You can manually run the scheduled task to confirm that it copied the PSO components to your backup location. Doing so will also help you verify whether you can access the backup
location. This process can take 2 hours or more for 40GB of files.
Image10

  1. Hit OK to save the Scheduled Task.
  2. Open Windows Task Scheduler create a second new task “PSO_Delete_Old_Backups” under the Schneider Electric folder.


Set the task to run under NT AUTHORITY/SYSTEM or SYSTEM . (see above)

  1. Set a trigger to run once a week. We have chosen Sunday at 1am in the past.

  1. Define the new action: Note: Please verify these file locations. The text of the program/script and argument can be found in the Scheduled task – Program and Argument Text.txt file .
    1. For Action, click Start a program.
    2. In Program/script, enter the following: C:\Windows\syswow64\WindowsPowerShell\v1.0\powershell.exe
    3. In Add arguments, enter the following:

-noninteractive -nologo -file "C:\Program Files (x86)\Schneider Electric\BackupTasks\Delete_Old_Backups.ps1"

  1. Hit OK to save the Scheduled Task.



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)

施耐德電機Taiwan

附件
PSOv9.0_Backup.txt [3.81 KB]
PSEv8.1_Backup.txt [2.57 KB]
Scheduled task - Program and Argument Text.txt [485 Bytes]
PSOv9_Restore.txt [2.41 KB]
PSEv8.1_Restore.txt [2.28 KB]
Delete_Old_Backups.txt [772 Bytes]
探索更多
系列:
探索更多
系列:

需要協助?

  • 從這裡開始!

    現在就找尋答案。自行搜尋解決方案,或與我們的專家聯絡。

  • 聯絡客服

    聯繫我們的客戶服務團隊以獲得更多資訊、技術支援、投訴協助等。

  • 購買地點

    輕鬆在您所在地區找到最近的施耐德電機經銷商。

  • 瀏覽 FAQ

    瀏覽主題相關常見問題 (FAQ),藉此取得您所需要的答案。

  • 聯絡業務

    歡迎您線上提問,將有專家與您聯絡。

我願意透過電子通訊方式(如電子郵件)從施耐德電機及其附屬公司接收新聞和商業資訊,我也同意他們收集這些電子郵件的開啟和點擊資訊(使用隱藏式追蹤像素),以衡量溝通效益並優化這些資訊。如您需更多詳細資訊,請參閱施耐德電機的 隱私權政策

  • 產品文檔
  • 軟體下載
  • 產品選型工具
  • 產品替代和替換
  • 幫助和聯絡中心
  • 尋找我們的辦公室
  • 取得報價
  • 人才招募
  • 公司簡介
  • 舉報不當行為
  • 無障礙
  • 新聞中心
  • 投資者
  • 專業洞察
  • 台灣施耐德電機學院
  • 綠色影響力落差調查
  • Schneider Go Green 2025
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.