?
Solved

SQL 2012 Backup Fails

Posted on 2013-05-23
1
Medium Priority
?
1,339 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
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
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

777 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