{}

Nhãn hiệu của chúng tôi

Impact-Company-Logo-English Black-01-177x54

Chào mừng bạn đến với Trang web của Schneider Electric

Chào mừng đến với trang web của chúng tôi.
Tìm các câu hỏi thường gặp
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

Environment
Windows Task Manager

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.
Original Code:

powerschell script

Modified Code:

powershell script

Save the file to retain the changes.

The following video demonstrates how to perform this configuration.

Schneider Electric Việt Nam

Tìm hiểu thêm
Phạm vi:
Bài viết có thể hữu ích
Tìm hiểu thêm
Phạm vi: