DICENTIS
Hints and Tips | en
111
Bosch Security Systems B.V.
Configuration manual
2021.06 | V3.7 |
14.4
Making a backup of the database
1.
Stop DICENTIS
services using the DICENTIS Server Console.
2.
Open a command prompt in
Administrator mode
.
3.
Go to:
C:\Program Files\Bosch\DICENTIS.
4.
To create a backup, run
DcnmDatabaseConsole.exe -b.
The backup will be stored in
C:
\Program Files\Microsoft SQL Server\MSSQL12.SQLDICENTIS2014\MSSQL\DATA
\DcnmBackup
.
5.
Restart the DICENTIS
services using the DICENTIS
Server Console.
Note:
For a different location or name of the backup please use this command:
DcnmDatabaseConsole.exe -b [filename and location]
. If the file already exists, the file will
be extended with the latest backup.
14.5
Restoring a database
1.
Stop DICENTIS services using the DICENTIS Server Console.
2.
Open a command prompt in
Administrator mode
.
3.
Go to:
C:\Program Files\Bosch\DICENTIS.
4.
To restore the database, run
DcnmDatabaseConsole.exe -r <filename and location of the
database>
.
Note:
Only
*.bak
files made by creating a backup can be restored.
Note:
The restore command does not update the database to the current version. To
update it to the current version, please read
Updating a database to the current version,
Note:
If your backup is in the
C:\Program Files\Microsoft SQL Server
\MSSQL10_50.SQLEXPRESS\MSSQL\DATA\DcnmBackup
directory, an error notification
will appear because the SQL2014 has no access to this SQL2008 database. Please copy it
to
C:\temp
.
5.
Restart the DICENTIS
services using the DICENTIS
Server Console.
Refer to
–
Updating a database to the current version, page 111
–
Updating a database to the current version, page 111
14.6
Updating a database to the current version
1.
Stop DICENTIS services using the DICENTIS Server Console.
2.
Open a command prompt in
Administrator mode
.
3.
Go to:
C:\Program Files\Bosch\DICENTIS.
4.
To update the database to the current version, run
DcnmDatabaseConsole.exe
.
5.
Restart the DICENTIS
services using the DICENTIS
Server Console.
14.7
Creating a clean database
1.
Stop DICENTIS services using the DICENTIS Server Console.
2.
Open a command prompt in
Administrator mode
.
3.
Go to:
C:\Program Files\Bosch\DICENTIS
.
4.
Run
DcnmDatabaseConsole.exe -n
.
5.
Restart the DICENTIS
services using the DICENTIS
Server Console.