Skip to content

sp_DatabaseRestore -- Operating system error 123(The filename, directory name, or volume label syntax is incorrect.) #3684

@SLDave-MDA

Description

@SLDave-MDA

Version of the script
8.25

What is the current behavior?
When specifying a network path for FULL backup location - it produces below error.
Operating system error 123(The filename, directory name, or volume label syntax is incorrect.)
Return value -6

Example path location: '\SERVERNAME\Z$\BAK'

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
Native SQL restore with the above path works fine. Also works in Quest's LiteSpeed

Which versions of SQL Server and which OS are affected by this issue? Did this work in previous versions of our procedures?
OS: Windows Server 2019 Datacenter (10.0.17763) - SQL 2019 (SQL Server 15.9.4430.1)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions