How do I install a Log Database Manually?
Section titled “How do I install a Log Database Manually?”Normally the Logging Service creates every Log Database itself: the first one when it starts for the first time, and the next ones when the online one gets too large or too old (see How a new Log Database is created). Manual Log Database creation is for environments where that can't happen: the Logging Service account doesn't get the SQL Server rights to create databases, or your DBAs must create every database themselves.

Animated walkthrough: a Log Database deployed by a DBA is registered for December 2026. Saving gives the online Log Database that Start date-time as its End Date, so the new one takes over from 2026-12-01.
When to Create Log Databases Manually
Section titled “ When to Create Log Databases Manually”- Security policies – the Logging Service account may not have
dbcreatororsysadmin; see SQL Server Sysadmin Requirements. - Planned periods – you want to create Log Databases in advance, for example one per quarter.
- Always On Availability Groups – your DBAs add every database to the availability group themselves; see Always On Availability Groups.
- Network segmentation – the Log Database lives on an instance the Logging Service can't create databases on.
Create a Log Database Manually
Section titled “ Create a Log Database Manually”Step 1: Choose the Name
Section titled “Step 1: Choose the Name”Name the database per the LogDatabaseName pattern, for example Nodinite_Prod_Log_20260101, where the environment part comes from EnvironmentName and the date is the start of the period. For a database you create yourself the date is your choice; a Log Database the Logging Service creates is named after its UTC creation date.
Step 2: Deploy the Log Database Schema
Section titled “Step 2: Deploy the Log Database Schema”Deploy the Log Database DACPAC with SqlPackage.exe, the same way the Update Log Database guide deploys schema updates. Use a command from the guide's Command Line Scripts step, set /TargetDatabaseName to the new name, and add /p:RegisterDataTierApplication=True. Nodinite reads the database version from that data-tier application registration; without it, the Log Databases list shows Version 0.0.0.0 with the update arrow. Keep the recovery model and file locations consistent with LogDatabaseRecovery and LogLocations. Use the latest DacFx version (SqlPackageExecutable).
Step 3: Grant Access
Section titled “Step 3: Grant Access”Give every account in LogServiceUsers the database roles in LogAccessRoles on the new database. The rights per Core Service are listed in Prerequisites.
Step 4: Register the Log Database in Nodinite
Section titled “Step 4: Register the Log Database in Nodinite”- In the Web Client, open Administration › Log Databases and click Add Log Database (Add or manage a Log Database).
- Enter the Database name and the Linked Server / Listener Name, for example
localhostwhen the database is on the SQL Server of the Configuration Database, otherwise the name of the linked server. - Untick Archive Database: you register a new, empty Log Database.
- Set the Start date-time, the first moment of its period. End date-time is read-only: Nodinite sets it when the database becomes an archive.
- Click Save and close.
On save, the online Log Database gets the new Start date-time as its End Date, and the new Log Database becomes the online one. Events dated before that Start date-time still go to the previous Log Database, so you can register a planned database in advance. Register planned databases one at a time, in date order: each registration ends the online Log Database at its Start date-time.
Keep Archive Database ticked only when you register an existing database that holds data, for example a restored archive; see Archive Database.