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
Solved

reason: The system cannot find the file specified

Posted on 2009-06-30
2
643 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
2 Comments
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to prevent deleting SQL tables thru FE Application? 20 83
Re-appearing SQL Server Agent jobs 7 28
sql server query 18 34
What is this datetime? 1 18
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
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.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

808 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