====== ISSUE: VSS_E_FLUSH_WRITES_TIMEOUT (MS SQL database backup in VSS mode) ====== Article ID: 8081 \\ Reviewed: 22/06/2020 \\ Product Version: CloudBacko Pro : 4.1.0.0 or above \\ OS: Windows ===== Problem Description ===== When performing a MS SQL server database backup in VSS backup mode, the following error message is received in the backup report:
No. Type Timestamp Log
* info ... ...
* erro YYYY/MM/DD hh:mm:ss [VSSDatabaseExpt] VSS_E_FLUSH_WRITES_TIMEOUT
* ... ... ...
===== Cause ===== The message is returned by the MS SQL VSS writer, indicating that the MS SQL VSS writer was unable to create a VSS snapshot of the database(s) within the default time limit due to high disk activities on the server. ===== Resolution ===== To resolve the issue:
  • Check if there is other I/O intensive application(s) that is running on the client computer at the time of the backup.

  • Try adjusting the backup schedule to another time when disk usage is low.

  • Check on the VSS writers:

    Ensure that left-over snapshots are cleaned up:

    In some case, you may not be able to delete the VSS snapshots with the above command. Perform the following instead:

    ===== Keywords ===== mssql, sql, ms, vss, timeout, flush, disk, activity, VSS_E_FLUSH_WRITES_TIMEOUT, VSS_E_FLUSH, WRITES_TIMEOUT