Browse FAQs

Video: How to archive a PME or SPM database without deleting data from the live database

Published date: 11 June 2020

Product Line
Power Monitoring Expert (PME)
StruxureWare Power Monitoring (SPM) 7.x

Environment
Database Manager

Cause
Need to make a full archive or an archive of a certain period of time of the live database without modifying it.

Resolution
To make an archive of the database please follow the video and instructions below.

Note: Make sure that the user you are logging in with has SQL Sysadmin rights. Otherwise, you will get an error "Computername\useraccount cannot open the Database Manager. To open the Database Manager a user must be a member of the SQL Sysadmin server role". 

The user has to be either added to the Sysadmin account or have the credentials to a Sysadmin account to follow the steps below.



Archive databases are attached to the system. Please detach it before making a copy, or moving it to a different location.
  1. Go to Managment Console >Tools > Database Manager
  2. If the error "Computername\useraccount cannot open the Database Manager. To open the Database Manager a user must be a member of the SQL Sysadmin server role" occurs, click OK. If the error doesn't pop up go to step 7
  3. Navigate to the DatabaseManager.exe location. It is located in ...\Program Files (x86)\Schneider Electric\System\bin\
  4. Press and hold Shift and Right click on it. Then select Run as different user.
  5. Enter Username and Password of the SQL Sysadmin user and click OK
  6. Once the Database Manager pops up make sure that you have selected the correct database
  7. Click on "..." to navigate to the location where the archive is going to be saved. Click Save
  8. Select the date range, or the beginning of the database and the end date that is desired for this archive
  9. Make sure that the "Remove Archive data from the live database" checkbox is not checked
  10. Click on Ok, and the system would show a message when it finished the archive
  11. Navigate to the location where the archive was saved to make sure the file was added to the correct location

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.