-----------------------------------
Affected Roles: Administrator, Owner
Related Digital Watchdog VMS Apps: DW Spectrum® IPVMS
Complexity: High
Software Version: DW Spectrum® IPVMS v4.1 or higher
Last Edit: March 16, 2021
-----------------------------------
Currently, DW Spectrum® IPVMS will not transfer DW Cloud™ users along with the Owner account when backing up and restoring the Server database. This means that if a DW Spectrum Server® is replaced, restoring the database will not carry over DW Cloud™ Users.
However, the database of DW Cloud™ users can be added to from a restored server by using a copy of the raw database from one Server to another.
This article will outline
**NOTE: To use this method, all associated DW Spectrum® Servers must all be using the same software version of DW Spectrum® IPVMS.
To copy the raw database from a DW Spectrum® Server in Windows:
Right-click on the Media Server icon located in the Service Tray and select Stop Server (started).
Using the File Explorer, navigate to C:\Windows\System32\config\systemprofile\AppData\Local\Digital Watchdog\Digital Watchdog Media Server
Paste the database files ecs.sqlite and ecs_staticsqlite to the Server computer’s Desktop or to another safe location (e.g. USB drive, external drive, etc.)
Right-click on the Media Server icon located in the Service Tray and select Start Server (Stopped).
The DW Cloud™ user database should now be copied from the old Server and available on the new Server.
To copy the raw database from a DW Spectrum® Server in Windows:
sudo su
Press ENTER, then enter the root password of:
**NOTE: The root password will not display as you type.
admin
service digitalwatchdog-mediaserver stop
In the Terminal application, use the command:
cd /opt/digitalwatchdog/mediaserver/var
In the Terminal application, use the commands:
cp ecs.sqlite /home/dwcube/Desktop
cp ecs_static.sqlite /home/dwcube/Desktop
**NOTE: If you are using a different computer model than the DW Blackjack® Cube, then instead of “dwcube”, use the server’s model name.
For Ubuntu/Linux systems, the permissions of the file must be changed. In the Terminal application, use the commands:
cd /home/dwcube/Desktop
chmod 777 ecs.sqlite
chmod 777 ecs_static.sqlite
Once this is done, open the Terminal application on the new Server and log in as a super user.
sudo su
Use the password
admin
service digitalwatchdog-mediaserver stop
cp ecs.sqlite /opt/digitalwatchdog/mediaserver/var
cp ecs_static.sqlite /opt/digitalwatchdog/mediaserver/var
service digitalwatchdog-mediaserver start
The DW Cloud™ user database should now be copied from the old Server and available on the new Server.