[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

reason: The system cannot find the file specified

Posted on 2009-06-30
2
Medium Priority
?
651 Views
Last Modified: 2012-05-11
I Created job in sql server 2005 for get backup form netbackup

if i run this from command prompt it works fine.
but same command run from sql server agent server (SQL server job) it giving error.

Command used in sql server job step :

exec master.dbo.xp_cmdshell '"\\RWC-VDBK01\C$\Program Files\Veritas\NetBackup\bin\dbbackex"  
-f \\RWC-VDBK01\N$\NetBackup\Admin_NB_Full.bch -p bkup_RWC-VDBK01-DB01_Admin_Full -np'

Error getting
reason: The system cannot find the file specified)

Please any body give proper command to run backup from netbackup by using sql server job.

Thanks
Rafeeque
0
Comment
Question by:info2rafiq
[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
2 Comments
 
LVL 71

Accepted Solution

by:
Qlemo earned 2000 total points
ID: 24752832
The SQL Agent has no network access. You have to change the service account to domain or other named account with access to the share, and that should do.
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

649 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