Backup of a SQL database with "?", "*", "'", ":" or "\" in the database name fails with The object was not found, or could not be accessed (MS SQL backup).

Article: 100027627
Last Published: 2014-01-14
Ratings: 0 0
Product(s): Backup Exec

Problem

When attempting to back up a database that contains a ? (question mark),  * (star), ' (single quote),  : (colon) or  a \ (back slash) in the database name will cause the backup to fail with the errors listed below or the database is not available for selection at all - the database may be grayed out for selection.

 

Error Message

Backup- SERVERNAME\SQLINSTANCE
Database \DATABASENAME.MDF was not found, or could not be accessed.

The debug log from the SQL Server will show the following messages:
[fsys\shared]        - Attach to SERVERNAME\INSTANCENAME                           
[fsys\sql2]          - Found database name with '?', '*', or '\'. marking it unselectable.
[fsys\sql2]          - Found database name with '?', '*', or '\'. marking it unselectable.
[fsys\sql2]          - Found database name with '?', '*', or '\'. marking it unselectable.
[fsys\sql2]          - Found database name with '?', '*', or '\'. marking it unselectable.
[fsys\sql2]          - Found database name with '?', '*', or '\'. marking it unselectable.
[fsys\sql2]          - Found database name with '?', '*', or '\'. marking it unselectable.
 

Cause

This issue is caused by having a database name with one of the characters listed above in the name

 

Solution

Currently Backup Exec does not support backing up databases that contain any of the following characters in the database name:

  • ‘    single quote
  • ?   question mark
  • \    backslash
  • :    colon
  • *   star

 

 

Workaround: Backup the database using the build in backup utility in SQL management Studio.

Note: With Backup Exe 2010 and earlier versions, database backups may have been possible of databases with these characters but restore of the databases may not be possible.

 

Veritas Technologies LLC has acknowledged that the above-mentioned issue is present in the current version(s) listed under the Product(s) Section of this article. Veritas Technologies LLC is committed to product quality and satisfied customers.
 
There are currently no plans to address this issue by way of a patch or hotfix in the current or previous versions of the software at the present time. This issue may be resolved in a future major revision of the software at a later time. However, this particular issue is not currently scheduled for any release.  If you feel this issue has a direct business impact for you and your continued use of the product, please contact your Veritas Sales representative or the Veritas Sales group to discuss these concerns.  For information on how to contact Veritas Sales, please see https://www.veritas.com
 
Please be sure to refer back to this document periodically as any changes to the status of the issue will be reflected here.
 

 

References

Etrack : 2929576 UMI : V-79-57344-5891

Was this content helpful?