Solved

SQL 2012 Backup Fails

Posted on 2013-05-23
1
1,243 Views
Last Modified: 2013-09-11
I have two SQL 2012 instances participating in an AlwaysOn AG.  Several databases belong to this AG.  My maintenance plan is set up to backup the databases each under its own folder.  The maintenance plan fails, however.

In the maintenance plan report, the error is:
Failed:(-1073548784) Executing the query "declare @backupSetId as int
select @backupSetId =..." failed with the following error: "Cannot open backup device 'F:\\SQLBackups\\Database10\\Database10_backup_2013_05_23_145749_1490355.bak'. Operating system error 2(The system cannot find the file specified.).
VERIFY DATABASE is terminating abnormally.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

I know how this error is commonly due to file permissions so in troubleshooting I have set the path to the backup folder to be an empty folder with EVERYONE = FULL permissions.  Subfolders are created for each of the databases, however the .bak files are not created and the process fails.
0
Comment
Question by:LNKDLNY2
1 Comment
 

Accepted Solution

by:
LNKDLNY2 earned 0 total points
ID: 39195334
Go figure... I was able to resolve.  The db was a member of an availability group and it was not configured for backups on Primary.  The secondary server had bad permissions on the destination backup path.  Both scenarios gave identical error.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Creating and Managing Databases with phpMyAdmin in cPanel.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now