Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SQL 2012 Backup Fails

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

636 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