Archived 8-Jul-26
Applies to: WAVE
Summary
This article describes the data that must be copied and transferred when the WAVE server application is moved from one machine to another.
NOTE: Not all data needs to be migrated; however, if you skip transferring the
analytics data, you will not have any historic data of IVA crossings or ANPR data,
for example.
Types of Data
There are two types of data to be transferred.
System Data
System data is synchronized across all Servers in a System and includes:
- Licenses
- Server settings
- System resources and their configuration (cameras, streams, I/O devices, URLs, Layouts, etc, from the resource panel)
Server Data
Server data is specific to each Server in a System, is not synchronized, and must be backed up independently for each Server for a full recovery or migration. Server data includes:
- Server database - Audit Trail and Bookmarks
- Video archives - recorded video and audio from connected devices and streams
- Smart motion index - motion metadata used for smart motion search
- Certificate - Server TLS/SSL certificate file
- Analytics data - metadata captured by 3rd party video analytics (optional)
Migrating WAVE
To migrate WAVE:
- Install the same version of WAVE that is running on the old server onto the new server.
- Log in to WAVE.
- Select System Administration from the three-bar menu.
- Select Advanced > Create Backup.
- Export all of the licenses by clicking Export.
- Deactivate the licenses on this machine.
- Stop the WAVE service on the server.
Server Database
Copy the database.
C:\Windows\System32\config\systemprofile\AppData\Local\hanwha\Hanwha Media Server\mserver.sqlite
Server Settings
Save the values from the following parameters to a text file: serverGuid, storedMac, and systemName.
In the Taskbar search box, type regedit and select Registry Editor (top result):
HKEY_LOCAL_MACHINE\SOFTWARE\Hanwha\Hanwha Media ServerSmart Motion Database
Copy the following data:
C:\Wisenet Wave Media\server UUID\motion_dataVideo Archives
Only copy the hi_quality and low_quality folders.
<Disk>:\wisenet Wave Media\<Server UUID>\Analytics Data
The file path depends on which drive is storing analytics data. To find the analytics data:
Navigate to each storage that stores analytics data and back up the data folder and database file (respectively).
<Disk>:\Wisenet Wave Media\<Server UUID>\archive <Disk>:\Wisenet Wave Media\<Server UUID>\objects_detection.sqlite
WAVE on the New Server
To add WAVE on the new server:
- Log into the Server via the Desktop client.
- Click Main Menu.
- Navigate to System Administration.
- Select Advanced > Backup and Restore > Restore from Backup.
Select the backup file of the system database (*.db).
The name of the previous system will be restored and the newly set up system will appear offline and can be removed by left-clicking the x in the top right corner.
Open Taskmanager > Services.
Right-click on the MediaServer service.
Click Stop.
- Connect all the storage drives.
Copy and paste (overwrite) the backup files to the corresponding path of the new server:
Server Database
C:\Windows\System32\config\systemprofile\AppData\Local\Hanwha\Hanwha Media Server\mserver.sqliteServer Settings
Using the values (serverGuid, storedMac, and systemName) you saved in the earlier text file, replace the corresponding values in the appropriate file below:HKEY_LOCAL_MACHINE\SOFTWARE\Hanwha\Hanwha Media ServerSmart Motion Metadata
C:\Wisenet Wave Media\server UUID\motion_dataVideo archive
Transfer the backup folders (hi_quality and low_quality) to the Wisenet Wave Media folder of all connected disks (all db and .ref files within should be deleted).
<DISK>:\Wisenet Wave Media
Analytics Data
Choose which storage location(s) will store your analytics data.
- Navigate to Server Settings > Storage Management.
Any eligible drive will display the option Use to store analytics data upon hovering over that drive.
Click on that option to begin storing analytics data on that drive. One folder and one file will be created: archive and objects_detection.sqlite.
NOTE: It is advisable to not use the C drive as the storage location.- Go to each storage location and paste the files you saved previously.
<DISK>:\Wisenet Wave Media\archive
<DISK>:\Wisenet Wave Media\objects_detection.sqlite
- Start the Server application service and log in to the system using the Desktop client.
- Navigate to Server Settings > Storage management and remove the old storage locations that show up as Inaccessible.
- Click Reindex Archive.
- Wait for the process to complete.
- Merge your server with any other system as needed.
- Select Main Menu > System Administration > Updates.