882 - Backup errors on SQL Server .ldf files

Modified on Mon, 21 Jul at 12:55 PM

Symptom

The following errors are displayed in the backup log when backing up SQL Server .ldf files:

Skipping an included file '....ldf' ([2] File not found)
The SQL Server database 'xxx' backup failed
There were errors while scanning entries to back up

Cause

Any leading spaces (e.g. " MyDatabase.ldf") in database file names are trimmed off by VSS when the file is read. This causes a conflict between the file found by the Agent and the file read by VSS.

Solution

Since there is currently no programmatic solution, we recommend that you detach the database with the name that contains leading spaces, then re-import the data to a database with a name that does not contain any leading spaces.

 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article