SQL maintenance plan access denied

Trying to setup up a maintenance plan to backup all my databases. Created a separate disk for backup. But get the following error when running:

Executing the query "BACKUP DATABASE [KMASTER] TO  DISK = N'SQLBackups\\..." failed with the following error: "Cannot open backup device 'F:\\Program Files\\Microsoft SQL Server\\MSSQL11.MSSQLSERVER2\\MSSQL\\Backup\\SQLBackups\\KMASTER_backup_2015_04_07_101055_2352777.bak'. Operating system error 3(The system cannot find the path specified.).
BACKUP 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.


Not sure why im getting access denied?
MattAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ste5anSenior DeveloperCommented:
Too many backslashes. We don't need to escape them in T-SQL..
0
MattAuthor Commented:
I dont understand... This is configured automatically by the maintenance wizard.
0
sarabhaiCommented:
SQLBackups folder not find on F Drive. Error in path.
0
ste5anSenior DeveloperCommented:
Can I know that..?

How does the backup script looks like?

It should be something like (BACKUP (Transact-SQL)):

BACKUP DATABASE AdventureWorks2012
TO DISK='X:\SQLServerBackups\AdventureWorks1.bak', 
DISK='Y:\SQLServerBackups\AdventureWorks2.bak', 
DISK='Z:\SQLServerBackups\AdventureWorks3.bak'
WITH FORMAT,
   MEDIANAME = 'AdventureWorksStripedSet0',
   MEDIADESCRIPTION = 'Striped media set for AdventureWorks2012 database;
GO

Open in new window


So it seems that also the drive is missing in TO  DISK = N'SQLBackups\.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.