브랜드

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

슈나이더 일렉트릭 코리아 웹사이트에 방문해 주셔서 감사합니다.

슈나이더 일렉트릭 코리아 웹사이트 방문자 분들 모두 환영합니다.
		
오늘 무엇을 도와드릴까요?
Changing Automatic Database Backup Location in Power Monitoring Expert

Issue
The default location of database backups is ...\config\cfg\DBBackups\ folder.  In some cases, the backup location has to be moved to a different drive due to storage space or company policy.

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

Environment
Windows PowerShell script file

Related Articles
FA230476: Basic PowerShell Commands
FA230577: Database Scheduled Task Files and Supporting Files

Cause
The PowerShell script, Configuration.ps1, contains the configuration information for scheduled tasks related to maintaining the ION databases.
The default path for the configuration file is 'Power Monitoring Expert\config\cfg\DbScheduledTasks\Support\'.

Configuration.ps1 contains the parameter, $locationForBackupFiles, which specifies the location where the backup jobs will save the database backups.

By default this parameter is set to: $locationForBackupFiles = "cfg\DBBackups\"

Therefore, the default location of the database backups is 'Power Monitoring Expert\config\cfg\DBBackups\'.

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).
To change the location where the backup scheduled jobs save the backup files to, simply modify the setting, $locationForBackupFiles, to the desired path using a word processor such as Notepad++ .

There are two ways of specifying where to save the backups:

  1. Full Path: This means that a full, rooted path is entered.
Examples of full or rooted pathsare:
  • "C:\Program Files\SomeFolder\"
  • "D:\Data\Backups\"
  • \\NetworkFolder\MyFiles
  • "D:\Backups\"
If the desired location is "D:\Data\Backups\", then ​Configuration.ps1 would be Configuration such that $locationForBackupFiles = "D:\Backups\"
Another location for databases
  1. Relative (non-rooted) Path: This means that you want the backups to be saved to a folder within the installation folder, and under Config folder.
Examples of relative paths are:
  • "MyFolder\Backups\Databases\"
  • "backups\"
  • "DB Backups"

If the desired location is "\config\cfg\DB Backups", then ​Configuration.ps1 would be cg such that $locationForBackupFiles = "DB Backups"

Back up location option

Note: In both cases, new subfolders are created and named based on the database.


IMPORTANT
The IONMaintenance user must be granted 'Modify' permissions to the destination folder.  If the location is the default PME installation folder, this step is not necessary.
The IONMaintenance user or a group that the IONMaintenance user is a member of must be added to the "Log on as batch job" user right assignment in the local security policies.

  1. In Windows Explorer, highlighted the new backup directory you just created: right-click > properties, choose the 'Security' tab
    Security Tab
  2. Click 'Edit' > 'Add' and the 'Select Users or Groups' window will open. Type 'IONMaintenance' > click 'OK'
    how to add IONMaint to folder
  3. Highlight the 'IONMaintenance' user and check 'Modify' permission. Click Apply > click OK.
    IONMaint added to new folder
  4. Click 'OK' to leave the Security window. Click OK to close the 'Properties' window.

슈나이더 일렉트릭 Korea

자세히 알아보기
제품군
자세히 알아보기
제품군

도움이 필요하신가요?

  • 제품 선택기

    애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.

  • 견적 받기

    영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.

  • 구매처

    해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.

  • 지원 센터

    한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.

  • 제품 문서
  • 소프트웨어 다운로드
  • 제품 선택기
  • 제품 대체 및 교체
  • 지원 및 연락처 센터
  • 영업소 검색
  • 견적 받기
  • 슈나이더 일렉트릭 커뮤니티
  • 채용
  • 회사 소개
  • 부정 행위 보고
  • 접근성
  • 뉴스룸
  • 투자자
  • Ecostruxure
  • 작업 검색
  • 블로그
  • 개인정보 취급방침
  • 쿠키 공지
  • 사용 약관
  • Change your cookie settings