Overview
Microsoft SQL Server uses transaction log to record and store all transactions and the database modifications made by transactions. If there is a system failure, the log is used to bring the database back to a consistent state. There are three different recovery models that control how the transactions are logged and how database recovery is done: simple, full, and bulk-logged. See details about the recovery models from the following 3rd party article - please note that M-Files has no control over 3rd party publications.https://docs.microsoft.com/en-us/sql/relational-databases/backup-restore/recovery-models-sql-server
M-Files selects the simple recovery model by default for a new vault database but if you have defined full or bulk-logged recovery model for it manually, you must make sure that you allow the SQL Server to truncate the transaction log with transaction log backups.
Solution
If the vault becomes unusable you can see the following error being raised by M-Files:The transaction log for database '<vault_name>' is full due to 'LOG_BACKUP'. (ERROR: 9002, SQLSTATE: 42000)
It indicates that the database transaction log is full and backups of the log have not been done properly. In full and bulk-logged recovery models the SQL Server will truncate the transaction log only after backups of the transaction log have been taken. Therefore, it is important that the backups are taken frequently. More about transaction log backup recommendations and resolving the problem can be found from the following 3rd party articles - please note that M-Files has no control over 3rd party publications.
https://docs.microsoft.com/en-us/sql/relational-databases/backup-restore/transaction-log-backups-sql-server
https://docs.microsoft.com/en-us/sql/relational-databases/logs/troubleshoot-a-full-transaction-log-sql-server-error-9002
