AvailabilityGroupBackupPath - System Parameter
AvailabilityGroupBackupPath is the network share that the Logging Service uses when it creates a new Log Database on a SQL Server Always On Availability Group (AOAG). The Logging Service backs up each new database and its log there; secondary replicas that use manual seeding restore from it. The full sequence is in How the Logging Service Creates a Log Database in an Availability Group. It is one of the System Parameters applied in How a new Log Database is created.
At a Glance
| Property | Value |
|---|---|
| Key | AvailabilityGroupBackupPath |
| Data type | string (UNC path) |
| Default | Empty; no installer sets it |
| Read by | Logging Service, only when it creates a Log Database on an Always On Availability Group |
| Takes effect | Within about 15 seconds; no restart needed. Applies to the next Log Database the Logging Service creates. |
| Status | ✅ Active |
| Since | Nodinite 7.2.0 (also used in Nodinite 6; not used in 7.1.0) |
How It Works
- On a standalone SQL Server instance or a failover cluster, nothing reads this parameter; leave it empty.
- When the Log Databases are in an Always On Availability Group, set it on that environment in the Web Client; see Manage System Parameters. If the share is unreachable, the Logging Service can't create new Log Databases there.
- In an availability group, the Logging Service creates Log Databases with the
FULLrecovery model, whatever LogDatabaseRecovery says. - The restore on the secondaries starts 2.5 seconds after the backup, a fixed delay, so the files must be readable on the share as soon as the backup finishes.
Nodinite Agents with their own databases have their own backup path setting, described in each agent's documentation.
Value Format
A UNC path to a folder on a network share:
\\HighAvailFileServer\NodiniteBackups\Production
Choosing a Value
Share Requirements
- Every node in the availability group can reach the share.
- The share is highly available, for example on a clustered file server, so it doesn't become a single point of failure.
- The network between the nodes and the share is fast enough for backup and restore of a new, still small Log Database.
- The share has room for the backups.
Permissions
- The SQL Server service account on the primary replica needs write access, because it writes the backup files.
- The SQL Server service accounts on every secondary replica need read access, because they restore from the files.
The other availability group prerequisites, such as the Logging Service rights and the linked servers, are in the DBA and Installer Prerequisites.
Frequently Asked Questions
How do I verify the configuration?
- Open the parameter in the Web Client and check the UNC path; see Manage System Parameters.
- Test that every availability group node can reach the share.
- Check the share permissions for the SQL Server service accounts: write on the primary, read on every secondary.
Next Steps
- SQL Server Always On Availability Groups
- Log Databases
- Manage Log Databases
- Manage System Parameters