---
title: LogDatabaseRecovery System Parameter – Recovery Model for Log Databases
description: LogDatabaseRecovery sets the SQL Server recovery model (SIMPLE or FULL) for new Nodinite Log Databases. The installer sets FULL for Always On Availability Groups and SIMPLE otherwise.
---

# LogDatabaseRecovery - System Parameter

**LogDatabaseRecovery** sets the SQL Server recovery model, `SIMPLE` or `FULL`, that the [Logging Service][] gives each new [Log Database][Log Databases]. The Log Database [Update Guide][Update Log Database] also uses it when it generates update scripts. It is one of the [System Parameters][] applied in [How a new Log Database is created][].

## :fa-table: At a Glance {#at-a-glance}

| Property | Value |
| --- | --- |
| Key | `LogDatabaseRecovery` |
| Data type | string (`SIMPLE` or `FULL`) |
| Default | `SIMPLE`; the installer sets `FULL` for [Always On Availability Groups][AOAG] |
| Read by | [Logging Service][]; the [Update Guide][Update Log Database] for [Log Databases][] |
| Takes effect | Within about 15 seconds; no restart needed. Applies to the next [Log Database][Log Databases] the [Logging Service][] creates and the next update script. |
| Status | ✅ Active |

## :fa-gears: How It Works

The CLI-based :Nodinite: installer sets the value from your SQL Server environment:

| SQL Server environment | Value |
| --- | --- |
| Always On Availability Group (AOAG) | `FULL` |
| Standalone, including failover cluster | `SIMPLE` |

* The Logging Service creates every **new** Log Database with this recovery model, except in an [Always On Availability Group][AOAG]: there it always uses `FULL`, whatever this value is.
* The [Update Guide][Update Log Database] includes the matching recovery setting in the scripts it generates for existing Log Databases.

>[!IMPORTANT]
>Changing the value does not change the recovery model of existing Log Databases.

## :fa-lightbulb: Choosing a Value

* Use `FULL` when the Log Databases are in an [Always On Availability Group][AOAG], so the value matches what the Logging Service uses there and what the [Update Guide][Update Log Database] scripts set. Also set [AvailabilityGroupBackupPath][].
* Use `SIMPLE` on a standalone instance or a failover cluster, unless your backup policy needs point-in-time restore.
* With `FULL`, your DBA must schedule transaction log backups, or the transaction log keeps growing. [LogLocations][] decides which disk holds it.
* If an existing Log Database uses a different recovery model than this value, change the value **before** you retrieve an update script; see [Update Log Database][].

## :fa-hand-point-right: Next Steps

* :fa-database: [Log Databases][]  
* :fa-list: [Manage Log Databases][]  
* :fa-book: [Update Log Database][]  
* :fa-server: [Always On Availability Groups][AOAG]  
* :fa-pen-to-square: [Manage System Parameters][]  

## :fa-link-horizontal: Related Topics

* :fa-sort-size-up-alt: [SizeToSplitDatabaseOn][]  
* :fa-calendar-day: [DaysToSplitDatabaseOn][]  
* :fa-database: [LogDatabaseName][]  
* :fa-disc-drive: [LogLocations][]  
* :fa-user-secret: [LogAccessRoles][]  
* :fa-users-class: [LogServiceUsers][]  
* :fa-server: [AvailabilityGroupBackupPath][]  
* :fa-tools: [DatabaseMaintenance][]  
* :fa-hard-drive: [Logging Service][]  
* :fa-sliders: [System Parameters][]  

[AOAG]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Always%20On%20Availability%20Groups.md
[AvailabilityGroupBackupPath]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/AvailabilityGroupBackupPath.md
[DatabaseMaintenance]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/DatabaseMaintenance.md
[DaysToSplitDatabaseOn]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/DaysToSplitDatabaseOn.md
[How a new Log Database is created]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/SizeToSplitDatabaseOn.md#how-a-new-log-database-is-created
[Log Databases]:{ndr}/Core%20Services/Log%20Databases/Overview.md
[LogAccessRoles]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/LogAccessRoles.md
[LogDatabaseName]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/LogDatabaseName.md
[Logging Service]:{ndr}/Core%20Services/Logging%20Service/Overview.md
[LogLocations]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/LogLocations.md
[LogServiceUsers]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/LogServiceUsers.md
[Manage Log Databases]:{ndr}/Administration/5.%20Settings/2.%20Log%20Databases/Overview.md
[Manage System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Manage%20System%20Parameters.md
[SizeToSplitDatabaseOn]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/SizeToSplitDatabaseOn.md
[System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Overview.md
[Update Log Database]:{ndr}/Administration/5.%20Settings/2.%20Log%20Databases/Update%20Log%20Database.md