Additional SQL Server features and topics not covered by specific categories
There is no single default limit that allows backing up all databases on one SQL Server instance at once.
For the error pattern shown (Cannot create worker thread during many VDI/BACKUP DATABASE operations), the relevant documented limit is for snapshot-style backups of many databases at the same time:
- SQL Server uses five threads in
Sqlservr.exefor the snapshot backup of each database. - If many databases are backed up simultaneously, available worker threads can be exhausted.
- Microsoft recommends creating a snapshot backup of fewer than 35 databases at the same time.
- For Transact-SQL snapshot backup, the maximum number of databases in that feature is 64. If there are more than 64 databases on the server, SQL Server returns
Msg 925 ... The maximum allowed is 64.
Given a server with about 920–940 databases, the failure is consistent with too many databases being processed concurrently, which can lead to Cannot create worker thread and follow-on backup failures.
For third-party backup products that use VDI/VSS, check these items:
- Verify the SQL login
NT SERVICE\SQLWriterexists and is in the sysadmin server role on the instance being backed up. - Verify the SQL Server VSS Writer service is started and its startup account is Local System.
- Run
VSSADMIN LIST WRITERSfrom an elevated command prompt and confirmSqlServerWriteris present and in the Stable state. - Reduce the number of databases backed up at the same time.
If the backup method is Azure VM SQL snapshot backup, the documented concurrent backup limit is 20 databases per VM.