Error 112

OS

Windows

Software

7.9 and higher

Error message

[Microsoft][ODBC SQL Server Driver][SQL Server]Write on "F:\Backup Temp\SQL\1234944360553\[..].bak.2021-10-07-00-00-00-000.ADD" failed: 112(There is not enough space on the disk.)

[Microsoft][ODBC SQL Server Driver][SQL Server]Unrecoverable I/O error for file "C:\Users\administrator\temp\1580152741183\[...].bak.2022-02-12-19-00-00-000.ADD": 112(There is not enough disk space available.) SQLSTATE = 42000

Cause

At the moment the export of a database starts the uncompressed space required for the export is reserved.
When there is insufficient free space in the temporary directory for this, the above error will occur for that database.
The MSSQL database works in the following manner:
  1. The backup manager will request a copy of the databases using a SQL-Query via sqldump.
  2. The MSSQL server will 'freeze' the status of the databases, but will still function by storing all transactions into logfiles.
  3. The database will be copied by the SQL server into the temporary folder.
  4. When the copying of the databases is finished, the database becomes writable again and the transaction logs are processed.
  5. The OBM will read out the database and compares it with a previous backup, and (if there are differences) will create a incremental of differential file.
  6. The full database or the differences will be uploaded to the backup server.
This process will result in a disk-space usage of 1.5 times the size of the databases in the temporary folder during the backup. Therefore you should assign a folder which can contain at least 1.5x as much data as the size of the databases combined.

Solution

We recommend you to choose a temporary folder on a disk which is not used for windows or the SQL server, to prevent problems.
  1. Stop all running SQL backup tasks.
  2. Remove the content of the temporarily directory of the SQL set.
  3. Choose a different folder on a disk which has at least the free space available to contain 1.5 times the size of the database(s)
    1. Open the software.
    2. Go to the Backup Sets.
    3. Choose the SQL backupset
    4. Click on Show advanced settings.
    5. Go to the Others tab.
    6. Select a different temporary folder
    7. Click Save.
BENELUX GERMANY AUSTRIA / SWITZERLAND
+31 (0) 570 56 23 43 +49 (0) 800 12 22 587 +31 (0) 570 71 43 06
info@mindtimebackup.nl info@mindtimebackup.de info@mindtimebackup.de