DCN-NG Database Backup
- Note the name of the database files that need to be backed up. To check what those files are called, open the “Bosch DCN Conference Software Server Console” from the Windows notification area and note the name of the active database.
![1.png 1.png](https://community.boschsecurity.com/t5/image/serverpage/image-id/2807i3EC41AF59B92CFCA/image-size/large?v=v2&px=999)
- Shut down all DCN-NG-related programs like ‘DCN-SW Operator Application’ and ‘DCN-SW Configuration Application’.
- Stop the DCN-NG service;
- Press the Windows button and search for ‘Services’
- Open the Windows Services window
- Select the service called ‘DCN-SW Server (DCNNG)
- Right click and choose ‘Stop’.
![2.png 2.png](https://community.boschsecurity.com/t5/image/serverpage/image-id/2808iA834024FFB7BF27C/image-size/large?v=v2&px=999)
- Still in the Services window, stop the services ‘SQL Server (SQLEXPRESS)’ and ‘SQL Server VSS Writer’ in the same way as outlined above.
![3.png 3.png](https://community.boschsecurity.com/t5/image/serverpage/image-id/2809i36BE8B7AD57E66F7/image-size/large?v=v2&px=999)
- Open the folder that contains the DCN-NG database. On Windows 7 and 10, it’s located by default at “C:\Program Files\Microsoft SQL Server\[MS SQL Express version]\MSSQL\data”.
- Replace the line between [] with the right name, this can change. Right now it’s ‘MSSQL10_50.SQLEXPRESS’
- Make sure that the user that is logged in is able to read/write from/to this folder. If this is not the case, the following step will not work.
- It’s possible to change permissions to folders for users within Windows, but that’s outside the scope of this document. Logging in to the server with an administrator account should be sufficient.
![4.png 4.png](https://community.boschsecurity.com/t5/image/serverpage/image-id/2810iD68947C8E38EF0F1/image-size/large?v=v2&px=999)
- Copy the right files to a safe location – make sure to copy both the file with extension ‘mdf’ as well as with the extension ‘ldf’.
DCN-NG Database Recovery
Short version: simply follow the backup steps, but copy the files back to the database folder.
- Shut down all DCN-NG-related programs like ‘DCN-SW Operator Application’ and ‘DCN-SW Configuration Application’.
- Stop the DCN-NG service;
- Press the Windows button and search for ‘Services’
- Open the Windows Services window
- Select the service called ‘DCN-SW Server (DCNNG)’
- Right-click and choose ‘Stop’.
![6.png 6.png](https://community.boschsecurity.com/t5/image/serverpage/image-id/2812iD8BA522B9ECA3592/image-size/large?v=v2&px=999)
- Still in the Services window, stop the services ‘SQL Server (SQLEXPRESS)’ and ‘SQL Server VSS Writer’ in the same way as outlined above.
![7.png 7.png](https://community.boschsecurity.com/t5/image/serverpage/image-id/2813i414C9248AF4E0F48/image-size/large?v=v2&px=999)
- Open the folder that contains the DCN-NG database. On Windows 7 and 10, it’s located by default at “C:\Program Files\Microsoft SQL Server\[MS SQL Express version]\MSSQL\data”.
- Replace the line between [] with the right name, this can change. Right now it’s ‘MSSQL10_50.SQLEXPRESS’
- Make sure that the user that is logged in is able to read/write from/to this folder. If this is not the case, the following step will not work.
- It’s possible to change permissions to folders for users within Windows, but that’s outside the scope of this document. Logging in to the server with an administrator account should be sufficient.
- Copy the right files back to the database folder – make sure to copy both the file with extension ‘mdf’ as well as with the extension ‘ldf’.
![8.png 8.png](https://community.boschsecurity.com/t5/image/serverpage/image-id/2814i2F44EA8CAD6D22A4/image-size/large?v=v2&px=999)
- Start all services once more; ‘DCN-SW Server (DCNNG)’, ‘SQL Server (SQLEXPRESS)’ and ‘SQL Server VSS Writer’.
- Run the ‘Repair’ function from the DCN-SW installation package.
![9.png 9.png](https://community.boschsecurity.com/t5/image/serverpage/image-id/2815i2252853F70020F43/image-size/large?v=v2&px=999)
- The Repair Wizard will run through the procedure of creating a new database or selecting an already existing one. Choose the existing database;
![10.png 10.png](https://community.boschsecurity.com/t5/image/serverpage/image-id/2816iC5DB4A70475219DD/image-size/large?v=v2&px=999)
- If the repair process is successful, the following window will be shown:
![11.png 11.png](https://community.boschsecurity.com/t5/image/serverpage/image-id/2817iE693282DDC2AFEC3/image-size/large?v=v2&px=999)
- The “Bosch DCN Conference Software Server Console” from the Windows notification area will show the system is running correctly:
![12.png 12.png](https://community.boschsecurity.com/t5/image/serverpage/image-id/2818iA5F0B9F55C1F79F5/image-size/large?v=v2&px=999)