Solved

SQL 2012 Backup Fails

Posted on 2013-05-23
1
1,310 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
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.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

691 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