https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IxODc5IiwiaGFzaCI6ImE5MDk3MGY0LTY0ZmEtNDJlYy05ZGNjLTEwM2UxZTFhNzQ4OSJ9
1-800-691-1991 | 9am - 8pm ET
EN

SQL Server Fails with error VSSControl: -2147024809 Backup job failed. Discovery phase failed.

Challenge

This KB provides information when SQL fails with this error due to a logical file path. 

Cause

The volume mount point for the database does not exist on the server on which the file is mounted.
 
Job logs will present the following similar error:
 
Error    VSSControl: -2147024809 Backup job failed.
Error    Discovery phase failed.
Error    Cannot enumerate volumes that should be added to the snapshot set.
Error    Cannot enumerate volumes that contain components specified by the processed writer. Writer name: [SqlServerWriter], class ID: [{a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}]. instance ID: [{88a622b8-5d1c-4b23-bd59-934c18a7b68c}].
Error    Cannot obtain a volume mount point for the volume that contains the specified file. File path: [\\ServerName\folder path\SQLDB.mdf].
 
The VeeamVSSSupport log will show the below information. This can be found in the following location on the SQL guest:

  • Windows 7/8 Generations: C:\ProgramData\Veeam\Backup
  • Windows XP/2k3: %allusersprofile%\Application Data\Veeam\Backup
 
Enumerating volumes that should be added to the snapshot set.. Failed.
Performing discovery phase.. Failed.
Performing backup steps.. Failed.
ERR     Freeze job failed.
ERR         Backup job failed.
ERR         Discovery phase failed.
ERR         Cannot enumerate volumes that should be added to the snapshot set.
ERR         Cannot enumerate volumes that contain components specified by the processed writer. Writer name: [SqlServerWriter], class ID: [{a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}]. instance ID: [{88a622b8-5d1c-4b23-bd59-934c18a7b68c}].
ERR         Cannot obtain a volume mount point for the volume that contains the specified file. File path: [\\ServerName\folder path\SQLDB.mdf].
ERR         Cannot get an unique volume name that corresponds to the specified volume mount point: [\\ServerName\folder path \].
ERR         Win32 error:The parameter is incorrect.
ERR          Code: 87

Solution

The database is mounted utilizing a UNC path. These paths are not supported for VSS backup as there are no corresponding volume mount points for the path. Move the database to a local drive on the server. 

More information

This issue is typically caused by mounting databases through network paths or mapped network drives using SQL native utilities.

KB ID:
1879
Product:
Veeam Backup & Replication
Version:
6.x, 7.x
Published:
2014-04-21
Last Modified:
2020-08-13
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.

OK

error icon

Oops! Something went wrong.

Please go back try again later.