我们今天能为您提供什么帮助?

Video: How can you modify the number of backups retained in PME?

Issue
A user may want to modify the number of backups retained in PME

Product Line
Power Monitoring Expert 7.2
Power Monitoring Expert 8.x
Power Monitoring Expert 9.x
Power Monitoring Expert 2020
Power Monitoring Expert 2021
Power Monitoring Expert 2022
Power Monitoring Expert 2023
Power Monitoring Expert 2024

Environment
Windows Task Scheduler

Cause
In PME 7.2 and greater, scheduled tasks have been removed from the ION Database Manager and are now handled by the Windows Task Scheduler which invokes Windows PowerShell files to run the backup. The PowerShell file itself will need to be modified to change the number of backups.

Resolution
*Warning: Take backups of any files prior to modifying them. Ensure the backups are in a location that will not be overwritten (i.e. the Desktop).*

Navigate to the following directory < >\Power Monitoring Expert\config\cfg\DbScheduledTasks (may vary depending on the installation directory) and open the file "Backup.ps1" either with Windows PowerShell or Notepad and edit the code as shown below. The following example shows how to change the number of backups saved from two to three.
Original Code:

powerschell script

Modified Code:

powershell script

Save the file to retain the changes.

The following video demonstrates how to perform this configuration.

施耐德電機Taiwan

探索更多

需要協助?

產品選型工具

快速輕鬆地為您的應用找到合適的產品和附件。

取得報價

立即線上提交您的銷售需求,專業團隊將主動聯繫您。

購買地點

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

支援中心

在同一位置找到滿足您所有需求的支援資源。